about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-10-23 11:09:15 +0200
committerCanop <cano.petrole@gmail.com>2020-10-23 11:41:19 +0200
commit415a8e526d0e99f0e85e3b06bad9d2f2867910c5 (patch)
tree7d9e4cf870b798bfdd277fb3f7fb9eccec7f37ed
parent39557799c763d75b58cbd7235af49a29c4d1212c (diff)
Update library/core/src/option.rs
Co-authored-by: Ivan Tham <pickfire@riseup.net>
-rw-r--r--library/core/src/option.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/library/core/src/option.rs b/library/core/src/option.rs
index 4e8a74d9162..a3d20f016fd 100644
--- a/library/core/src/option.rs
+++ b/library/core/src/option.rs
@@ -562,10 +562,6 @@ impl<T> Option<T> {
         }
     }
 
-    /////////////////////////////////////////////////////////////////////////
-    // Setting a new value
-    /////////////////////////////////////////////////////////////////////////
-
     /// Inserts `value` into the option then returns a mutable reference to it.
     ///
     /// If the option already contains a value, the old value is dropped.