File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ use crate::ptr;
1717/// ```
1818///
1919/// A `BorrowedBuf` is created around some existing data (or capacity for data) via a unique reference
20- /// (`&mut`). The `BorrowedBuf` can be configured (e.g., using `clear` or `set_init` ), but cannot be
21- /// directly written. To write into the buffer, use `unfilled` to create a `BorrowedCursor`. The cursor
22- /// has write-only access to the unfilled portion of the buffer (you can think of it as a
23- /// write-only iterator).
20+ /// (`&mut`). The `BorrowedBuf` can be configured (e.g., using `clear`), but cannot be directly
21+ /// written. To write into the buffer, use `unfilled` to create a `BorrowedCursor`. The cursor has
22+ /// write-only access to the unfilled portion of the buffer (you can think of it as a write-only
23+ /// iterator).
2424///
2525/// The lifetime `'data` is a bound on the lifetime of the underlying data.
2626pub struct BorrowedBuf < ' data > {
You can’t perform that action at this time.
0 commit comments