]> git.lizzy.rs Git - rust.git/commitdiff
Suggested changes by birkenfeld
authorHavvy <ryan.havvy@gmail.com>
Tue, 23 May 2017 06:49:35 +0000 (23:49 -0700)
committerHavvy <ryan.havvy@gmail.com>
Tue, 23 May 2017 06:49:35 +0000 (23:49 -0700)
src/libcore/ops.rs

index dd1990784c404bbd6feacf3c441b255c3696cb28..4fb1f1757bbf70f142d0dfe87bcdb5588c73a5b6 100644 (file)
 /// its `drop` method called. Then any fields the value contains will also
 /// be dropped recursively.
 ///
-/// Because of the recursive dropping, even for types that do not implement
-/// this trait, you do not need to implement this trait unless your type
-/// needs its own destructor logic.
+/// Because of the recursive dropping, you do not need to implement this trait
+/// unless your type needs its own destructor logic.
 ///
 /// # Examples
 ///
 /// ```
 ///
 /// Showing the recursive nature of `Drop`. When `outer` goes out of scope, the
-/// `drop` method will be called for `Outer` and then the `drop` method for
-/// `Inner` will be called. Therefore `main` prints `Dropping Outer!` and then
-/// `Dropping Inner!`.
+/// `drop` method will be called first for `Outer`, then for `Inner`. Therefore
+/// `main` prints `Dropping Outer!` and then `Dropping Inner!`.
 ///
 /// ```
 /// struct Inner;