Skip to content

Commit 4c9f8ae

Browse files
committed
Minor changes to core::option docs
1 parent c414628 commit 4c9f8ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/libcore/option.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -896,9 +896,9 @@ unsafe impl<A> TrustedLen for Item<A> {}
896896

897897
/// An iterator over a reference to the [`Some`] variant of an [`Option`].
898898
///
899-
/// The iterator yields one value if the [`Option`] is a [`Some`] variant, otherwise none.
899+
/// The iterator yields one value if the [`Option`] is a [`Some`], otherwise none.
900900
///
901-
/// This `struct` is created by [`Option::iter`] function.
901+
/// This `struct` is created by the [`Option::iter`] function.
902902
///
903903
/// [`Option`]: enum.Option.html
904904
/// [`Some`]: enum.Option.html#variant.Some
@@ -941,9 +941,9 @@ impl<'a, A> Clone for Iter<'a, A> {
941941

942942
/// An iterator over a mutable reference to the [`Some`] variant of an [`Option`].
943943
///
944-
/// The iterator yields one value if the [`Option`] is a [`Some`] variant, otherwise none.
944+
/// The iterator yields one value if the [`Option`] is a [`Some`], otherwise none.
945945
///
946-
/// This `struct` is created by [`Option::iter_mut`] function.
946+
/// This `struct` is created by the [`Option::iter_mut`] function.
947947
///
948948
/// [`Option`]: enum.Option.html
949949
/// [`Some`]: enum.Option.html#variant.Some
@@ -978,9 +978,9 @@ unsafe impl<'a, A> TrustedLen for IterMut<'a, A> {}
978978

979979
/// An iterator over the value in [`Some`] variant of an [`Option`].
980980
///
981-
/// The iterator yields one value if the [`Option`] is a [`Some`] variant, otherwise none.
981+
/// The iterator yields one value if the [`Option`] is a [`Some`], otherwise none.
982982
///
983-
/// This `struct` is created by [`Option::into_iter`] function.
983+
/// This `struct` is created by the [`Option::into_iter`] function.
984984
///
985985
/// [`Option`]: enum.Option.html
986986
/// [`Some`]: enum.Option.html#variant.Some

0 commit comments

Comments
 (0)