From: Ian Jackson Date: Thu, 14 Nov 2024 22:15:23 +0000 (+0000) Subject: docs X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=aba8a828c02b6deeb6e96e4abc53b646e8e8e7e6;p=manually-boxed docs --- diff --git a/src/lib.rs b/src/lib.rs index d1c4384..b89da5d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,7 @@ use std::ptr::NonNull; pub struct NoAliasSingleton { } -/// Something where `&self` implies `&NoAliasSingleton` +/// Token-like: `&self` implies `&NoAliasSingleton` /// /// Implemented for `NoAliasSingleton` and the ZST reference tokens, /// and `&`-references to them. @@ -25,7 +25,7 @@ pub unsafe trait IsRefToken<'a>: Sized { } } -/// Something where `&mut self` implies `&mut NoAliasSingleton` +/// Token-like `&mut self` implies `&mut NoAliasSingleton` /// /// Implemented for `NoAliasSingleton` and `MutToken`, /// and `&mut`-references to them.