mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-30 01:44:07 +00:00
Upgrade to the Rust 2024 edition (#2367)
* Update to rust 2024 edition * Fixes * Clean up imports * Cargo fmt again --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
parent
927d7dd9b2
commit
beb1c6ae64
253 changed files with 980 additions and 1371 deletions
|
@ -1,8 +1,8 @@
|
|||
use crate::parsing::{Implementation, ParsedField, ParsedNodeFn};
|
||||
|
||||
use proc_macro_error2::emit_error;
|
||||
use quote::quote;
|
||||
use syn::{spanned::Spanned, GenericParam, Type};
|
||||
use syn::spanned::Spanned;
|
||||
use syn::{GenericParam, Type};
|
||||
|
||||
pub fn validate_node_fn(parsed: &ParsedNodeFn) -> syn::Result<()> {
|
||||
let validators: &[fn(&ParsedNodeFn)] = &[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue