Co-authored-by: Thibaud <ThibsG@users.noreply.github.com>
This commit is contained in:
rail-rain 2020-08-24 19:08:38 +12:00 committed by GitHub
parent 91b200c62b
commit ce8915c85c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ impl Trait<u32> for u64 {
// This is just a pointer that can be safely dereferended,
// it's semantically the same as `&'static T`;
// but it isn't allowed make a static reference from an arbitrary integer value at the moment.
// but it isn't allowed to make a static reference from an arbitrary integer value at the moment.
// For more information, please see the issue #5918.
pub struct StaticRef<T> {
ptr: *const T,