From eda1928baa868495cd3481358390f8a4e286a659 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Mon, 23 Oct 2023 18:17:32 +0000 Subject: [PATCH] Typo. --- src/tools/miri/tests/pass/function_pointers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/miri/tests/pass/function_pointers.rs b/src/tools/miri/tests/pass/function_pointers.rs index 8e58692a0c7..36679b7180a 100644 --- a/src/tools/miri/tests/pass/function_pointers.rs +++ b/src/tools/miri/tests/pass/function_pointers.rs @@ -80,7 +80,7 @@ fn main() { // but Miri currently uses a fixed address for monomorphic functions. assert!(return_fn_ptr(i) == i); assert!(return_fn_ptr(i) as unsafe fn() -> i32 == i as fn() -> i32 as unsafe fn() -> i32); - // Miri gives it many different addresses to different reifications of a generic function. + // Miri gives different addresses to different reifications of a generic function. assert!(return_fn_ptr(f) != f); // However, if we only turn `f` into a function pointer and use that pointer, // it is equal to itself.