Use generic NonZero
everywhere else.
This commit is contained in:
parent
36d194f561
commit
0c474acdfa
3 changed files with 4 additions and 3 deletions
|
@ -136,7 +136,7 @@ thread_local! {
|
|||
arena: arena::Arena::new(),
|
||||
names: fxhash::FxHashMap::default(),
|
||||
strings: Vec::new(),
|
||||
// Start with a base of 1 to make sure that `NonZeroU32` works.
|
||||
// Start with a base of 1 to make sure that `NonZero<u32>` works.
|
||||
sym_base: NonZero::new(1).unwrap(),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue