diff options
| author | Nick Hamann <nick@wabbo.org> | 2015-07-18 22:54:55 -0500 |
|---|---|---|
| committer | Nick Hamann <nick@wabbo.org> | 2015-07-18 22:54:55 -0500 |
| commit | f257a1501fe4a07ee79aa12d2ca316da694b91a7 (patch) | |
| tree | 190c4f0cab07e5373788e9cd6db2af7017076426 /src | |
| parent | 9d460c5517799d484a8ed71e03a1a680d74d1de9 (diff) | |
| download | rust-f257a1501fe4a07ee79aa12d2ca316da694b91a7.tar.gz rust-f257a1501fe4a07ee79aa12d2ca316da694b91a7.zip | |
'Copies' => 'Clones' in Cow method docs.
It seems slightly more consistent to say 'Clones' here instead of 'Copies'. The docs for the `ToOwned` trait talk about cloning and not copying.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/borrow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/borrow.rs b/src/libcollections/borrow.rs index d7242b90775..1c75636cb05 100644 --- a/src/libcollections/borrow.rs +++ b/src/libcollections/borrow.rs @@ -215,7 +215,7 @@ impl<'a, B: ?Sized> Clone for Cow<'a, B> where B: ToOwned { impl<'a, B: ?Sized> Cow<'a, B> where B: ToOwned { /// Acquires a mutable reference to the owned form of the data. /// - /// Copies the data if it is not already owned. + /// Clones the data if it is not already owned. /// /// # Examples /// @@ -241,7 +241,7 @@ impl<'a, B: ?Sized> Cow<'a, B> where B: ToOwned { /// Extracts the owned data. /// - /// Copies the data if it is not already owned. + /// Clones the data if it is not already owned. /// /// # Examples /// |
