Skip to content

Commit cfc538b

Browse files
committed
Fix macro pollution in SystemParam derive
Fixes #19130 by fully qualifying Result::Ok
1 parent 95470df commit cfc538b

File tree

1 file changed

+1
-1
lines changed
  • crates/bevy_ecs/macros/src

1 file changed

+1
-1
lines changed

crates/bevy_ecs/macros/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ pub fn derive_system_param(input: TokenStream) -> TokenStream {
455455
<#field_types as #path::system::SystemParam>::validate_param(#field_locals, _system_meta, _world)
456456
.map_err(|err| #path::system::SystemParamValidationError::new::<Self>(err.skipped, #field_messages, #field_names))?;
457457
)*
458-
Ok(())
458+
Result::Ok(())
459459
}
460460

461461
#[inline]

0 commit comments

Comments
 (0)