fix typo
This commit is contained in:
parent
fc2d29450e
commit
b79d279418
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ context.
|
|||
Rust largely understands that any operation that produces or stores a ZST can be
|
||||
reduced to a no-op. For instance, a `HashSet<T>` can be effeciently implemented
|
||||
as a thin wrapper around `HashMap<T, ()>` because all the operations `HashMap`
|
||||
normally does to store and retrieve keys will be completely stripped in
|
||||
normally does to store and retrieve values will be completely stripped in
|
||||
monomorphization.
|
||||
|
||||
Similarly `Result<(), ()>` and `Option<()>` are effectively just fancy `bool`s.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue