about summary refs log tree commit diff
diff options
context:
space:
mode:
authorrail-rain <12975677+rail-rain@users.noreply.github.com>2020-08-24 19:08:38 +1200
committerGitHub <noreply@github.com>2020-08-24 19:08:38 +1200
commitce8915c85cebaa30e6846322e0ab44a4f4f9cb65 (patch)
tree10f6424ae1408d44c1c206f4505de1060e6aa23f
parent91b200c62b7c464cb890c68230ab2d74605a60d0 (diff)
downloadrust-ce8915c85cebaa30e6846322e0ab44a4f4f9cb65.tar.gz
rust-ce8915c85cebaa30e6846322e0ab44a4f4f9cb65.zip
typo
Co-authored-by: Thibaud <ThibsG@users.noreply.github.com>
-rw-r--r--tests/ui/borrow_interior_mutable_const.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/borrow_interior_mutable_const.rs b/tests/ui/borrow_interior_mutable_const.rs
index 310769cd002..a414832bcd3 100644
--- a/tests/ui/borrow_interior_mutable_const.rs
+++ b/tests/ui/borrow_interior_mutable_const.rs
@@ -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,