Skip to content

Commit 395d01c

Browse files
committed
Fix for #25583
1 parent 55da4c6 commit 395d01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/num/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ macro_rules! int_impl {
135135
/// # Examples
136136
///
137137
/// ```
138-
/// assert_eq!(u32::from_str_radix("A", 16), Some(10));
138+
/// assert_eq!(u32::from_str_radix("A", 16), Ok(10));
139139
/// ```
140140
#[stable(feature = "rust1", since = "1.0.0")]
141141
#[allow(deprecated)]

0 commit comments

Comments
 (0)