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 8736d17 commit ff59b2dCopy full SHA for ff59b2d
capnp/src/message.rs
@@ -94,8 +94,7 @@ pub trait ReaderSegments {
94
/// be enabled in the capnp crate. (Otherwise reading the segment will return an error.)
95
///
96
/// The returned slice is required to point to memory that remains valid until the ReaderSegments
97
- /// object is dropped. In safe Rust, it should not be possible to violate this requirement. (If we
98
- /// discover that it is possible, then we need to mark this trait as `unsafe`.)
+ /// object is dropped. In safe Rust, it should not be possible to violate this requirement.
99
fn get_segment<'a>(&'a self, idx: u32) -> Option<&'a [u8]>;
100
101
/// Gets the number of segments.
0 commit comments