Skip to content

Commit 4588c26

Browse files
Update src/libcore/option.rs
Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
1 parent 46e9cbe commit 4588c26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/option.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,6 +1363,7 @@ impl<T> From<T> for Option<T> {
13631363
///
13641364
/// ```
13651365
/// let o: Option<u8> = Option::from(67);
1366+
///
13661367
/// assert_eq!(Some(67), o);
13671368
/// ```
13681369
fn from(val: T) -> Option<T> {

0 commit comments

Comments
 (0)