From c271a2847000e3cb8e97c4059e83577f733bf485 Mon Sep 17 00:00:00 2001 From: Daniel McNab <36049421+DJMcNab@users.noreply.github.com> Date: Fri, 11 Feb 2022 20:17:33 +0000 Subject: [PATCH] Use `assert_is_system` instead --- crates/bevy_ecs/src/system/system_param.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_ecs/src/system/system_param.rs b/crates/bevy_ecs/src/system/system_param.rs index d4346bfaa7286..89693f3acc16d 100644 --- a/crates/bevy_ecs/src/system/system_param.rs +++ b/crates/bevy_ecs/src/system/system_param.rs @@ -1351,7 +1351,7 @@ pub mod lifetimeless { /// fn do_thing_generically(t: StaticSystemParam) {} /// /// fn check_always_is_system(){ -/// do_thing_generically::.system(); +/// bevy_ecs::system::assert_is_system(do_thing_generically::); /// } /// ``` /// Note that in a real case you'd generally want @@ -1379,7 +1379,7 @@ pub mod lifetimeless { /// phantom: core::marker::PhantomData<&'w &'s ()> /// } /// # fn check_always_is_system(){ -/// # do_thing_generically::.system(); +/// # bevy_ecs::system::assert_is_system(do_thing_generically::); /// # } /// ``` ///