Skip to content

Commit e0ea2ae

Browse files
committed
docs(server): fix ICE documenting pub(super) through pin_project
1 parent 070c84e commit e0ea2ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/server/conn.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,11 @@ pub struct Connecting<I, F, E = Exec> {
105105
#[pin_project]
106106
#[derive(Debug)]
107107
pub(super) struct SpawnAll<I, S, E> {
108+
// TODO: re-add `pub(super)` once rustdoc can handle this.
109+
//
110+
// See https://github.com/rust-lang/rust/issues/64705
108111
#[pin]
109-
pub(super) serve: Serve<I, S, E>,
112+
pub serve: Serve<I, S, E>,
110113
}
111114

112115
/// A future binding a connection with a Service.

0 commit comments

Comments
 (0)