From aba8a828c02b6deeb6e96e4abc53b646e8e8e7e6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 14 Nov 2024 22:15:23 +0000 Subject: [PATCH] docs --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.30.2