Link to In in pipe documentation (#10596)

This commit is contained in:
Stepan Koltsov 2023-11-17 15:34:58 +00:00 committed by GitHub
parent 201f5b2d0b
commit 0c9f265423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,8 +155,8 @@ pub trait IntoSystem<In, Out, Marker>: Sized {
/// Pass the output of this system `A` into a second system `B`, creating a new compound system.
///
/// The second system must have `In<T>` as its first parameter, where `T`
/// is the return type of the first system.
/// The second system must have [`In<T>`](crate::system::In) as its first parameter,
/// where `T` is the return type of the first system.
fn pipe<B, Final, MarkerB>(self, system: B) -> PipeSystem<Self::System, B::System>
where
B: IntoSystem<Out, Final, MarkerB>,