Skip to content

Commit 7bd4448

Browse files
committed
don't ask
1 parent 5163f98 commit 7bd4448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_utils/src/label.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ macro_rules! define_label {
157157
impl $id_name {
158158
/// Returns true if this label was constructed from an instance of type `L`.
159159
pub fn is<L: $label_name>(self) -> bool {
160-
self.f == Self::get_formatter()
160+
self.f == L::get_formatter()
161161
}
162162
/// Attempts to downcast this label to type `L`.
163163
///

0 commit comments

Comments
 (0)