Replace NonZero::<_>::new
with NonZero::new
.
This commit is contained in:
parent
746a58d435
commit
a90cc05233
70 changed files with 175 additions and 216 deletions
|
@ -1007,7 +1007,7 @@ mod parse {
|
|||
}
|
||||
},
|
||||
None => {
|
||||
*slot = NonZero::<usize>::new(1);
|
||||
*slot = NonZero::new(1);
|
||||
true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue