We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ef6f6d + c56d8a8 commit a03caecCopy full SHA for a03caec
src/libcore/option.rs
@@ -8,7 +8,7 @@
8
//! * Initial values
9
//! * Return values for functions that are not defined
10
//! over their entire input range (partial functions)
11
-//! * Return value for otherwise reporting simple errors, where `None` is
+//! * Return value for otherwise reporting simple errors, where [`None`] is
12
//! returned on error
13
//! * Optional struct fields
14
//! * Struct fields that can be loaned or "taken"
@@ -752,7 +752,7 @@ impl<T> Option<T> {
752
}
753
754
755
- /// Returns [`Some`] if exactly one of `self`, `optb` is [`Some`], otherwise returns `None`.
+ /// Returns [`Some`] if exactly one of `self`, `optb` is [`Some`], otherwise returns [`None`].
756
///
757
/// [`Some`]: #variant.Some
758
/// [`None`]: #variant.None
0 commit comments