Replace NonZero::<_>::new
with NonZero::new
.
This commit is contained in:
parent
746a58d435
commit
a90cc05233
70 changed files with 175 additions and 216 deletions
|
@ -645,7 +645,7 @@ fn stability_index(tcx: TyCtxt<'_>, (): ()) -> Index {
|
|||
let stability = Stability {
|
||||
level: attr::StabilityLevel::Unstable {
|
||||
reason: UnstableReason::Default,
|
||||
issue: NonZero::<u32>::new(27812),
|
||||
issue: NonZero::new(27812),
|
||||
is_soft: false,
|
||||
implied_by: None,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue