about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-10-23 11:44:58 +0200
committerCanop <cano.petrole@gmail.com>2020-10-23 11:44:58 +0200
commit216d0fe36466ce9307a643a67afa41ebfb8c43dd (patch)
tree721f03efd05f2721a411689c5dd74d6acdffb6e0
parent415a8e526d0e99f0e85e3b06bad9d2f2867910c5 (diff)
downloadrust-216d0fe36466ce9307a643a67afa41ebfb8c43dd.tar.gz
rust-216d0fe36466ce9307a643a67afa41ebfb8c43dd.zip
add tracking issue number to option_insert feature gate
-rw-r--r--library/core/src/option.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/option.rs b/library/core/src/option.rs
index a3d20f016fd..3daf26208b9 100644
--- a/library/core/src/option.rs
+++ b/library/core/src/option.rs
@@ -581,7 +581,7 @@ impl<T> Option<T> {
     /// assert_eq!(opt.unwrap(), 3);
     /// ```
     #[inline]
-    #[unstable(feature = "option_insert", reason = "newly added", issue = "none")]
+    #[unstable(feature = "option_insert", reason = "newly added", issue = "78271")]
     pub fn insert(&mut self, value: T) -> &mut T {
         *self = Some(value);