about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHavvy <ryan.havvy@gmail.com>2017-05-22 23:49:35 -0700
committerHavvy <ryan.havvy@gmail.com>2017-05-22 23:49:35 -0700
commitb41b2947d56ce8be0b927d59d766a23271b9dd37 (patch)
tree858669e054826fb509468525f4ad201a8fc7eb8f
parent5f4b0ffe59c1c0358ea3e5b9c1ad5fdb7b135b96 (diff)
downloadrust-b41b2947d56ce8be0b927d59d766a23271b9dd37.tar.gz
rust-b41b2947d56ce8be0b927d59d766a23271b9dd37.zip
Suggested changes by birkenfeld
-rw-r--r--src/libcore/ops.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs
index dd1990784c4..4fb1f1757bb 100644
--- a/src/libcore/ops.rs
+++ b/src/libcore/ops.rs
@@ -157,9 +157,8 @@ use marker::Unsize;
 /// 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
 ///
@@ -181,9 +180,8 @@ use marker::Unsize;
 /// ```
 ///
 /// 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;