Auto merge of #27122 - nham:tweak-cow-docs, r=Gankro

It seems slightly more consistent to say 'Clones' here instead of 'Copies'. The docs for the `ToOwned` trait talk about cloning and not copying.
This commit is contained in:
bors 2015-07-19 04:56:33 +00:00
commit 86fa65bcc5

View File

@ -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
///