@@ -441,7 +441,7 @@ pub fn derive_world_query(input: TokenStream) -> TokenStream {
441
441
/// More complex types must be boxed and identified by their hash
442
442
/// - opt in to this by annotating the entire item with `#[system_label(hash)]`.
443
443
///
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
445
445
/// it were fieldless with `#[system_label(ignore_fields)]`.
446
446
#[ proc_macro_derive( SystemLabel , attributes( system_label) ) ]
447
447
pub fn derive_system_label ( input : TokenStream ) -> TokenStream {
@@ -464,7 +464,7 @@ pub fn derive_system_label(input: TokenStream) -> TokenStream {
464
464
/// More complex types must be boxed and identified by their hash
465
465
/// - opt in to this by annotating the entire item with `#[stage_label(hash)]`.
466
466
///
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
468
468
/// it were fieldless with `#[stage_label(ignore_fields)]`.
469
469
#[ proc_macro_derive( StageLabel , attributes( stage_label) ) ]
470
470
pub fn derive_stage_label ( input : TokenStream ) -> TokenStream {
@@ -485,7 +485,7 @@ pub fn derive_stage_label(input: TokenStream) -> TokenStream {
485
485
/// More complex types must be boxed and identified by their hash
486
486
/// - opt in to this by annotating the entire item with `#[ambiguity_set_label(hash)]`.
487
487
///
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
489
489
/// it were fieldless with `#[ambiguity_set_label(ignore_fields)]`.
490
490
#[ proc_macro_derive( AmbiguitySetLabel , attributes( ambiguity_set_label) ) ]
491
491
pub fn derive_ambiguity_set_label ( input : TokenStream ) -> TokenStream {
@@ -510,7 +510,7 @@ pub fn derive_ambiguity_set_label(input: TokenStream) -> TokenStream {
510
510
/// More complex types must be boxed and identified by their hash
511
511
/// - opt in to this by annotating the entire item with `#[run_criteria_label(hash)]`.
512
512
///
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
514
514
/// it were fieldless with `#[run_criteria_label(ignore_fields)]`.
515
515
#[ proc_macro_derive( RunCriteriaLabel , attributes( run_criteria_label) ) ]
516
516
pub fn derive_run_criteria_label ( input : TokenStream ) -> TokenStream {
0 commit comments