]> git.lizzy.rs Git - rust.git/commitdiff
doc: no need to mention the method by name
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Thu, 17 Sep 2015 19:46:46 +0000 (21:46 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Thu, 17 Sep 2015 19:46:47 +0000 (21:46 +0200)
It's clear it's the one being documented

src/libcore/ops.rs

index 07de4d0761baadf7db47c3bddb3f82199fc80bcf..5f0eb63edbc45128351a41bc2038f11e29b2f6e8 100644 (file)
@@ -94,7 +94,7 @@
 #[lang = "drop"]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait Drop {
-    /// The `drop` method, called when the value goes out of scope.
+    /// A method called when the value goes out of scope.
     #[stable(feature = "rust1", since = "1.0.0")]
     fn drop(&mut self);
 }