auto merge of #14510 : kballard/rust/rename_strallocating_into_owned, r=alexcrichton

We already have into_string(), but it was implemented in terms of
into_owned(). Flip it around and deprecate into_owned().

Remove a few spurious calls to .into_owned() that existed in libregex
and librustdoc.
This commit is contained in:
bors
2014-05-29 19:31:42 -07:00
4 changed files with 19 additions and 24 deletions

View File

@@ -356,7 +356,7 @@ impl fmt::Show for clean::Type {
}
}
}
ret.into_owned()
ret
})
}
clean::Proc(ref decl) => {