Skip to content

Commit ce8915c

Browse files
rail-rainThibsG
andauthored
typo
Co-authored-by: Thibaud <ThibsG@users.noreply.github.com>
1 parent 91b200c commit ce8915c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/borrow_interior_mutable_const.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl Trait<u32> for u64 {
3232

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

0 commit comments

Comments
 (0)