We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69cd9e commit 73ab40cCopy full SHA for 73ab40c
capnp/src/capability.rs
@@ -444,10 +444,9 @@ impl DispatchCallResult {
444
}
445
446
447
-// Prevents using alloc directly in generated code (which would require an extern crate
448
-// alloc) in the crate root.
+/// Type alias that allows us to avoid using `alloc` directly in generated code,
+/// which would require an `extern crate alloc` in the crate root.
449
#[cfg(feature = "alloc")]
450
-#[doc(hidden)]
451
pub type Rc<T> = alloc::rc::Rc<T>;
452
453
/// An untyped server.
0 commit comments