mirror of https://github.com/rwf2/Rocket.git
Use docstring '///' comment in 'Responder' docs.
This commit is contained in:
parent
72e1bce2f2
commit
3bd65e7e18
|
@ -442,7 +442,7 @@ impl<'r, 'o: 'r, R: Responder<'r, 'o>> Responder<'r, 'o> for Option<R> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Responds with the wrapped `Responder` in `self`, whether it is `Ok` or
|
/// Responds with the wrapped `Responder` in `self`, whether it is `Ok` or
|
||||||
/// `Err`.
|
/// `Err`.
|
||||||
impl<'r, 'o: 'r, 't: 'o, 'e: 'o, T, E> Responder<'r, 'o> for Result<T, E>
|
impl<'r, 'o: 'r, 't: 'o, 'e: 'o, T, E> Responder<'r, 'o> for Result<T, E>
|
||||||
where T: Responder<'r, 't>, E: Responder<'r, 'e>
|
where T: Responder<'r, 't>, E: Responder<'r, 'e>
|
||||||
|
@ -455,7 +455,7 @@ impl<'r, 'o: 'r, 't: 'o, 'e: 'o, T, E> Responder<'r, 'o> for Result<T, E>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Responds with the wrapped `Responder` in `self`, whether it is `Left` or
|
/// Responds with the wrapped `Responder` in `self`, whether it is `Left` or
|
||||||
/// `Right`.
|
/// `Right`.
|
||||||
impl<'r, 'o: 'r, 't: 'o, 'e: 'o, T, E> Responder<'r, 'o> for crate::Either<T, E>
|
impl<'r, 'o: 'r, 't: 'o, 'e: 'o, T, E> Responder<'r, 'o> for crate::Either<T, E>
|
||||||
where T: Responder<'r, 't>, E: Responder<'r, 'e>
|
where T: Responder<'r, 't>, E: Responder<'r, 'e>
|
||||||
|
|
Loading…
Reference in New Issue