From e0ea2aeeca0c681429caff17e4b988c8a389071d Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Wed, 11 Dec 2019 12:53:42 -0800 Subject: [PATCH] docs(server): fix ICE documenting pub(super) through pin_project --- src/server/conn.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/server/conn.rs b/src/server/conn.rs index f6b9103e..bbc876e5 100644 --- a/src/server/conn.rs +++ b/src/server/conn.rs @@ -105,8 +105,11 @@ pub struct Connecting { #[pin_project] #[derive(Debug)] pub(super) struct SpawnAll { + // TODO: re-add `pub(super)` once rustdoc can handle this. + // + // See https://github.com/rust-lang/rust/issues/64705 #[pin] - pub(super) serve: Serve, + pub serve: Serve, } /// A future binding a connection with a Service.