doc: no need to mention the method by name
It's clear it's the one being documented
This commit is contained in:
parent
d2e13e822a
commit
25cc001c19
@ -94,7 +94,7 @@ use fmt;
|
||||
#[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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user