Skip to content

Commit 4c5c28e

Browse files
committed
address feedback
1 parent e973aa2 commit 4c5c28e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/bevy_ecs/src/system/input.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ impl<E: 'static, B: Bundle> SystemInput for Trigger<'_, E, B> {
225225
/// A helper for using [`SystemInput`]s in generic contexts.
226226
///
227227
/// This type is a [`SystemInput`] adapter which always has
228-
/// `Self::Param::Inner == Self::Inner`.
228+
/// `Self::Param == Self` (ignoring lifetimes for brevity),
229+
/// no matter the argument [`SystemInput`] (`I`).
229230
///
230231
/// This makes it useful for having arbitrary [`SystemInput`]s in
231232
/// function systems.

crates/bevy_ecs/src/system/system_param.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,7 @@ pub mod lifetimeless {
17221722
/// A helper for using system parameters in generic contexts
17231723
///
17241724
/// This type is a [`SystemParam`] adapter which always has
1725-
/// `Self::State::Item == Self` (ignoring lifetimes for brevity),
1725+
/// `Self::Item == Self` (ignoring lifetimes for brevity),
17261726
/// no matter the argument [`SystemParam`] (`P`) (other than
17271727
/// that `P` must be `'static`)
17281728
///

0 commit comments

Comments
 (0)