Skip to content

Commit 73ab40c

Browse files
committed
unhide doc comment for capnp::capability::Rc
1 parent e69cd9e commit 73ab40c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

capnp/src/capability.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,9 @@ impl DispatchCallResult {
444444
}
445445
}
446446

447-
// Prevents using alloc directly in generated code (which would require an extern crate
448-
// alloc) in the crate root.
447+
/// Type alias that allows us to avoid using `alloc` directly in generated code,
448+
/// which would require an `extern crate alloc` in the crate root.
449449
#[cfg(feature = "alloc")]
450-
#[doc(hidden)]
451450
pub type Rc<T> = alloc::rc::Rc<T>;
452451

453452
/// An untyped server.

0 commit comments

Comments
 (0)