]> git.lizzy.rs Git - rust.git/commitdiff
typo
authorrail-rain <12975677+rail-rain@users.noreply.github.com>
Mon, 24 Aug 2020 07:08:38 +0000 (19:08 +1200)
committerGitHub <noreply@github.com>
Mon, 24 Aug 2020 07:08:38 +0000 (19:08 +1200)
Co-authored-by: Thibaud <ThibsG@users.noreply.github.com>
tests/ui/borrow_interior_mutable_const.rs

index 310769cd002be0ebb26f4bcf4e5f2661067daf58..a414832bcd36200765be6b70ae3fe59588d64586 100644 (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,