diff --git a/library/core/src/option.rs b/library/core/src/option.rs index 0f2475a8bdea6..b5ea891627532 100644 --- a/library/core/src/option.rs +++ b/library/core/src/option.rs @@ -1464,6 +1464,7 @@ impl Option { /// let item_2_0 = arr_2d.get(2).and_then(|row| row.get(0)); /// assert_eq!(item_2_0, None); /// ``` + #[doc(alias = "flatmap")] #[inline] #[stable(feature = "rust1", since = "1.0.0")] #[rustc_const_unstable(feature = "const_option_ext", issue = "91930")]