File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
crates/bevy_reflect/bevy_reflect_derive/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ pub fn impl_type_path(input: TokenStream) -> TokenStream {
571
571
generics,
572
572
}
573
573
}
574
- NamedTypePathDef :: Primtive ( ref ident) => ReflectTypePath :: Primitive ( ident) ,
574
+ NamedTypePathDef :: Primitive ( ref ident) => ReflectTypePath :: Primitive ( ident) ,
575
575
} ;
576
576
577
577
let meta = ReflectMeta :: new ( type_path, ReflectTraits :: default ( ) ) ;
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ pub(crate) enum NamedTypePathDef {
73
73
generics : Generics ,
74
74
custom_path : Option < CustomPathDef > ,
75
75
} ,
76
- Primtive ( Ident ) ,
76
+ Primitive ( Ident ) ,
77
77
}
78
78
79
79
impl Parse for NamedTypePathDef {
@@ -87,7 +87,7 @@ impl Parse for NamedTypePathDef {
87
87
if path. leading_colon . is_none ( ) && custom_path. is_none ( ) {
88
88
if path. segments . len ( ) == 1 {
89
89
let ident = path. segments . into_iter ( ) . next ( ) . unwrap ( ) . ident ;
90
- Ok ( NamedTypePathDef :: Primtive ( ident) )
90
+ Ok ( NamedTypePathDef :: Primitive ( ident) )
91
91
} else {
92
92
Err ( input. error ( "non-customized paths must start with a double colon (`::`)" ) )
93
93
}
You can’t perform that action at this time.
0 commit comments