From c7d8467ca9158da58ef295ae65dbf00a308752d9 Mon Sep 17 00:00:00 2001 From: Marijn Schouten Date: Wed, 6 Apr 2022 07:26:54 +0200 Subject: [PATCH] Change "writers" to "readers" for Deref. (#346) --- src/send-and-sync.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/send-and-sync.md b/src/send-and-sync.md index 6f8b1e8..34539da 100644 --- a/src/send-and-sync.md +++ b/src/send-and-sync.md @@ -148,7 +148,7 @@ impl Deref for Carton { fn deref(&self) -> &Self::Target { unsafe { // Safety: The pointer is aligned, initialized, and dereferenceable - // by the logic in [`Self::new`]. We require writers to borrow the + // by the logic in [`Self::new`]. We require readers to borrow the // Carton, and the lifetime of the return value is elided to the // lifetime of the input. This means the borrow checker will // enforce that no one can mutate the contents of the Carton until