fix small word dupe typos
This commit is contained in:
@@ -53,8 +53,8 @@ unsafe {
|
||||
```
|
||||
|
||||
Here, transmute is being used to convert the types of the fn arguments.
|
||||
This pattern is incorrect because, because the type of `foo` is a function
|
||||
**item** (`typeof(foo)`), which is zero-sized, and the target type (`fn()`)
|
||||
This pattern is incorrect because the type of `foo` is a function **item**
|
||||
(`typeof(foo)`), which is zero-sized, and the target type (`fn()`)
|
||||
is a function pointer, which is not zero-sized.
|
||||
This pattern should be rewritten. There are a few possible ways to do this:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user