mirror of
https://github.com/bevyengine/bevy
synced 2024-11-24 21:53:07 +00:00
Typo in [ScheduleLabel
] derive macro (#11764)
[`ScheduleLabel`] derive macro uses "ScheduleName" as the trait name by mistake. This only affects the error message when a user tries to use the derive macro on a union type. No other code is affected.
This commit is contained in:
parent
c33b8b92c0
commit
ff77adc045
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ pub fn derive_schedule_label(input: TokenStream) -> TokenStream {
|
|||
.segments
|
||||
.push(format_ident!("ScheduleLabel").into());
|
||||
dyn_eq_path.segments.push(format_ident!("DynEq").into());
|
||||
derive_label(input, "ScheduleName", &trait_path, &dyn_eq_path)
|
||||
derive_label(input, "ScheduleLabel", &trait_path, &dyn_eq_path)
|
||||
}
|
||||
|
||||
/// Derive macro generating an impl of the trait `SystemSet`.
|
||||
|
|
Loading…
Reference in a new issue