E597 Update library/core/src/num/nonzero.rs · rust-lang/rust@55487c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 55487c1

Browse files
cptpiepmatzjoboet
andauthored
Update library/core/src/num/nonzero.rs
Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
1 parent 3b8e0e4 commit 55487c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/nonzero.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ macro_rules! nonzero_integer {
548548
#[doc = concat!("assert_eq!(align_of::<", stringify!($Ty), ">(), align_of::<Option<", stringify!($Ty), ">>());")]
549549
/// ```
550550
///
551-
/// # Const Creation
551+
/// # Compile-time creation
552552
///
553553
/// Since both [`Option::unwrap()`] and [`Option::expect()`] are `const`, it is possible to
554554
/// define a new

0 commit comments

Comments
 (0)
0