Skip to content

Commit c56d8a8

Browse files
committed
Add links to None in Option doc
1 parent 04b88a9 commit c56d8a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/option.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//! * Initial values
99
//! * Return values for functions that are not defined
1010
//! over their entire input range (partial functions)
11-
//! * Return value for otherwise reporting simple errors, where `None` is
11+
//! * Return value for otherwise reporting simple errors, where [`None`] is
1212
//! returned on error
1313
//! * Optional struct fields
1414
//! * Struct fields that can be loaned or "taken"
@@ -752,7 +752,7 @@ impl<T> Option<T> {
752752
}
753753
}
754754

755-
/// Returns [`Some`] if exactly one of `self`, `optb` is [`Some`], otherwise returns `None`.
755+
/// Returns [`Some`] if exactly one of `self`, `optb` is [`Some`], otherwise returns [`None`].
756756
///
757757
/// [`Some`]: #variant.Some
758758
/// [`None`]: #variant.None

0 commit comments

Comments
 (0)