Skip to content

Commit ff59b2d

Browse files
committed
clean up comment
1 parent 8736d17 commit ff59b2d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

capnp/src/message.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ pub trait ReaderSegments {
9494
/// be enabled in the capnp crate. (Otherwise reading the segment will return an error.)
9595
///
9696
/// 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`.)
97+
/// object is dropped. In safe Rust, it should not be possible to violate this requirement.
9998
fn get_segment<'a>(&'a self, idx: u32) -> Option<&'a [u8]>;
10099

101100
/// Gets the number of segments.

0 commit comments

Comments
 (0)