@@ -441,7 +441,7 @@ pub fn derive_world_query(input: TokenStream) -> TokenStream {
441441/// More complex types must be boxed and identified by their hash
442442/// - opt in to this by annotating the entire item with `#[system_label(hash)]`.
443443///
444- /// Alternatively, you may force a struct or varaint to behave as if
444+ /// Alternatively, you may force a struct or variant to behave as if
445445/// it were fieldless with `#[system_label(ignore_fields)]`.
446446#[ proc_macro_derive( SystemLabel , attributes( system_label) ) ]
447447pub fn derive_system_label ( input : TokenStream ) -> TokenStream {
@@ -464,7 +464,7 @@ pub fn derive_system_label(input: TokenStream) -> TokenStream {
464464/// More complex types must be boxed and identified by their hash
465465/// - opt in to this by annotating the entire item with `#[stage_label(hash)]`.
466466///
467- /// Alternatively, you may force a struct or varaint to behave as if
467+ /// Alternatively, you may force a struct or variant to behave as if
468468/// it were fieldless with `#[stage_label(ignore_fields)]`.
469469#[ proc_macro_derive( StageLabel , attributes( stage_label) ) ]
470470pub fn derive_stage_label ( input : TokenStream ) -> TokenStream {
@@ -485,7 +485,7 @@ pub fn derive_stage_label(input: TokenStream) -> TokenStream {
485485/// More complex types must be boxed and identified by their hash
486486/// - opt in to this by annotating the entire item with `#[ambiguity_set_label(hash)]`.
487487///
488- /// Alternatively, you may force a struct or varaint to behave as if
488+ /// Alternatively, you may force a struct or variant to behave as if
489489/// it were fieldless with `#[ambiguity_set_label(ignore_fields)]`.
490490#[ proc_macro_derive( AmbiguitySetLabel , attributes( ambiguity_set_label) ) ]
491491pub fn derive_ambiguity_set_label ( input : TokenStream ) -> TokenStream {
@@ -510,7 +510,7 @@ pub fn derive_ambiguity_set_label(input: TokenStream) -> TokenStream {
510510/// More complex types must be boxed and identified by their hash
511511/// - opt in to this by annotating the entire item with `#[run_criteria_label(hash)]`.
512512///
513- /// Alternatively, you may force a struct or varaint to behave as if
513+ /// Alternatively, you may force a struct or variant to behave as if
514514/// it were fieldless with `#[run_criteria_label(ignore_fields)]`.
515515#[ proc_macro_derive( RunCriteriaLabel , attributes( run_criteria_label) ) ]
516516pub fn derive_run_criteria_label ( input : TokenStream ) -> TokenStream {
0 commit comments