File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1883,7 +1883,7 @@ This pattern should be rewritten. There are a few possible ways to do this:
18831883 # }
18841884 ```
18851885
1886- The same applies to transmutes to `*mut fn()`, which were observedin practice.
1886+ The same applies to transmutes to `*mut fn()`, which were observed in practice.
18871887Note though that use of this type is generally incorrect.
18881888The intention is typically to describe a function pointer, but just `fn()`
18891889alone suffices for that. `*mut fn()` is a pointer to a fn pointer.
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ This pattern should be rewritten. There are a few possible ways to do this:
5353 let f: extern "C" fn(*mut i32) = transmute(foo as usize); // works too
5454 ```
5555
56- The same applies to transmutes to `*mut fn()`, which were observedin practice.
56+ The same applies to transmutes to `*mut fn()`, which were observed in practice.
5757Note though that use of this type is generally incorrect.
5858The intention is typically to describe a function pointer, but just `fn()`
5959alone suffices for that. `*mut fn()` is a pointer to a fn pointer.
You can’t perform that action at this time.
0 commit comments