Fix warnings and errors reported on Rust beta (#19294)
# Objective Fixes errors and warnings on this week's Rust beta pipeline * https://github.com/bevyengine/bevy/issues/18748#issuecomment-2890820218
This commit is contained in:
parent
17914943a3
commit
55edb0b476
@ -41,7 +41,6 @@ disallowed-methods = [
|
||||
{ path = "f32::asinh", reason = "use bevy_math::ops::asinh instead for libm determinism" },
|
||||
{ path = "f32::acosh", reason = "use bevy_math::ops::acosh instead for libm determinism" },
|
||||
{ path = "f32::atanh", reason = "use bevy_math::ops::atanh instead for libm determinism" },
|
||||
{ path = "criterion::black_box", reason = "use core::hint::black_box instead" },
|
||||
]
|
||||
|
||||
# Require `bevy_ecs::children!` to use `[]` braces, instead of `()` or `{}`.
|
||||
|
@ -95,7 +95,7 @@ impl BevyManifest {
|
||||
return None;
|
||||
};
|
||||
|
||||
let mut path = Self::parse_str::<syn::Path>(&format!("::{}", package));
|
||||
let mut path = Self::parse_str::<syn::Path>(&format!("::{package}"));
|
||||
if let Some(module) = name.strip_prefix("bevy_") {
|
||||
path.segments.push(Self::parse_str(module));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user