]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #42438 - king6cong:master, r=alexcrichton
authorCorey Farwell <coreyf@rwell.org>
Wed, 7 Jun 2017 02:36:34 +0000 (22:36 -0400)
committerGitHub <noreply@github.com>
Wed, 7 Jun 2017 02:36:34 +0000 (22:36 -0400)
doc rewording

src/libcore/marker.rs

index 6602fccd5898282fd59d94450cfa2d07603dd45e..05df84708e05d3aa1629e00c2826dc827c7c7575 100644 (file)
@@ -205,7 +205,7 @@ pub trait Unsize<T: ?Sized> {
 /// but not `Copy`.
 ///
 /// [`Clone`] is a supertrait of `Copy`, so everything which is `Copy` must also implement
-/// [`Clone`]. If a type is `Copy` then its [`Clone`] implementation need only return `*self`
+/// [`Clone`]. If a type is `Copy` then its [`Clone`] implementation only needs to return `*self`
 /// (see the example above).
 ///
 /// ## When can my type be `Copy`?