chiark
/
gitweb
/
~ian
/
manually-boxed
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
677cb4d
)
docs
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 14 Nov 2024 22:15:23 +0000
(22:15 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 14 Nov 2024 22:15:23 +0000
(22:15 +0000)
src/lib.rs
patch
|
blob
|
history
diff --git
a/src/lib.rs
b/src/lib.rs
index d1c43849446f2414ca8846f46fec790fec3c1852..b89da5d0849c893ad8c18a2fec60b41e608bd2cf 100644
(file)
--- 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 wher
e `&mut self` implies `&mut NoAliasSingleton`
+///
Token-lik
e `&mut self` implies `&mut NoAliasSingleton`
///
/// Implemented for `NoAliasSingleton` and `MutToken`,
/// and `&mut`-references to them.