mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
BorrowedCursor docs clarification
This commit is contained in:
parent
5bc7b9ac8a
commit
c06f801ef6
@ -139,9 +139,11 @@ impl<'data> BorrowedBuf<'data> {
|
||||
}
|
||||
}
|
||||
|
||||
/// A writeable view of the unfilled portion of a [`BorrowedBuf`](BorrowedBuf).
|
||||
/// A writeable view of the unfilled portion of a [`BorrowedBuf`].
|
||||
///
|
||||
/// The unfilled portion consists of an initialized and an uninitialized part; see [`BorrowedBuf`]
|
||||
/// for details.
|
||||
///
|
||||
/// Provides access to the initialized and uninitialized parts of the underlying `BorrowedBuf`.
|
||||
/// Data can be written directly to the cursor by using [`append`](BorrowedCursor::append) or
|
||||
/// indirectly by getting a slice of part or all of the cursor and writing into the slice. In the
|
||||
/// indirect case, the caller must call [`advance`](BorrowedCursor::advance) after writing to inform
|
||||
|
Loading…
Reference in New Issue
Block a user