File tree 2 files changed +2
-2
lines changed
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:
1883
1883
# }
1884
1884
```
1885
1885
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.
1887
1887
Note though that use of this type is generally incorrect.
1888
1888
The intention is typically to describe a function pointer, but just `fn()`
1889
1889
alone 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:
53
53
let f: extern "C" fn(*mut i32) = transmute(foo as usize); // works too
54
54
```
55
55
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.
57
57
Note though that use of this type is generally incorrect.
58
58
The intention is typically to describe a function pointer, but just `fn()`
59
59
alone suffices for that. `*mut fn()` is a pointer to a fn pointer.
You can’t perform that action at this time.
0 commit comments