Skip to content

Commit eda1928

Browse files
committed
Typo.
1 parent d80eb3a commit eda1928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/pass/function_pointers.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fn main() {
8080
// but Miri currently uses a fixed address for monomorphic functions.
8181
assert!(return_fn_ptr(i) == i);
8282
assert!(return_fn_ptr(i) as unsafe fn() -> i32 == i as fn() -> i32 as unsafe fn() -> i32);
83-
// Miri gives it many different addresses to different reifications of a generic function.
83+
// Miri gives different addresses to different reifications of a generic function.
8484
assert!(return_fn_ptr(f) != f);
8585
// However, if we only turn `f` into a function pointer and use that pointer,
8686
// it is equal to itself.

0 commit comments

Comments
 (0)