mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
typo
Co-authored-by: Thibaud <ThibsG@users.noreply.github.com>
This commit is contained in:
parent
91b200c62b
commit
ce8915c85c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue