diff --git a/examples/stress_tests/many_components.rs b/examples/stress_tests/many_components.rs index 437e23a9f4e7f..450926711be97 100644 --- a/examples/stress_tests/many_components.rs +++ b/examples/stress_tests/many_components.rs @@ -45,7 +45,7 @@ fn base_system(access_components: In>, mut query: Query() }; @@ -62,7 +62,7 @@ fn base_system(access_components: In>, mut query: Query(); @@ -153,11 +153,11 @@ fn stress_test(num_entities: u32, num_components: u32, num_systems: u32) { app.run(); } -#[allow(missing_docs)] +#[expect(missing_docs)] pub fn main() { - let default_num_entities = 50000; - let default_num_components = 1000; - let default_num_systems = 800; + const DEFAULT_NUM_ENTITIES: u32 = 50000; + const DEFAULT_NUM_COMPONENTS: u32 = 1000; + const DEFAULT_NUM_SYSTEMS: u32 = 800; // take input let num_entities = std::env::args()