doc: no need to mention the method by name
It's clear it's the one being documented
This commit is contained in:
@@ -94,7 +94,7 @@ use fmt;
|
|||||||
#[lang = "drop"]
|
#[lang = "drop"]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub trait Drop {
|
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")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
fn drop(&mut self);
|
fn drop(&mut self);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user