docs(server): fix ICE documenting pub(super) through pin_project

This commit is contained in:
Sean McArthur
2019-12-11 12:53:42 -08:00
parent 070c84ec43
commit e0ea2aeeca

View File

@@ -105,8 +105,11 @@ pub struct Connecting<I, F, E = Exec> {
#[pin_project] #[pin_project]
#[derive(Debug)] #[derive(Debug)]
pub(super) struct SpawnAll<I, S, E> { pub(super) struct SpawnAll<I, S, E> {
// TODO: re-add `pub(super)` once rustdoc can handle this.
//
// See https://github.com/rust-lang/rust/issues/64705
#[pin] #[pin]
pub(super) serve: Serve<I, S, E>, pub serve: Serve<I, S, E>,
} }
/// A future binding a connection with a Service. /// A future binding a connection with a Service.