Skip to content

Commit c7d8467

Browse files
authored
Change "writers" to "readers" for Deref. (#346)
1 parent 11f1165 commit c7d8467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/send-and-sync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ impl<T> Deref for Carton<T> {
148148
fn deref(&self) -> &Self::Target {
149149
unsafe {
150150
// Safety: The pointer is aligned, initialized, and dereferenceable
151-
// by the logic in [`Self::new`]. We require writers to borrow the
151+
// by the logic in [`Self::new`]. We require readers to borrow the
152152
// Carton, and the lifetime of the return value is elided to the
153153
// lifetime of the input. This means the borrow checker will
154154
// enforce that no one can mutate the contents of the Carton until

0 commit comments

Comments
 (0)