diff options
| author | bors <bors@rust-lang.org> | 2024-02-23 14:27:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-23 14:27:33 +0000 |
| commit | b6a23b853719c8c22c022993c9eb2871b09fc2b9 (patch) | |
| tree | 572ff92243a24f7154ab43779fd058c4ebeb1c07 /library/proc_macro/src/bridge | |
| parent | 52cea084bd5bbac12ecfa5c0499f5c777025c968 (diff) | |
| parent | b74d8db9d258bbfbfb9d993dce6fbdd8f09dfa31 (diff) | |
Auto merge of #121454 - reitermarkus:generic-nonzero-library, r=dtolnay
Use generic `NonZero` everywhere in `library`. Tracking issue: https://github.com/rust-lang/rust/issues/120257 Use generic `NonZero` everywhere (except stable examples). r? `@dtolnay`
Diffstat (limited to 'library/proc_macro/src/bridge')
| -rw-r--r-- | library/proc_macro/src/bridge/symbol.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/proc_macro/src/bridge/symbol.rs b/library/proc_macro/src/bridge/symbol.rs index 712f6b45458..02225d20b26 100644 --- a/library/proc_macro/src/bridge/symbol.rs +++ b/library/proc_macro/src/bridge/symbol.rs @@ -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(), }); } |
