std: Remove String::from_owned_str as it's redundant

[breaking-change]
This commit is contained in:
Richo Healey
2014-05-24 21:59:56 -07:00
parent 746d086f93
commit c7fe4ffe3d
4 changed files with 7 additions and 7 deletions

View File

@@ -110,7 +110,7 @@ impl TestDesc {
use std::num::Saturating;
let mut name = String::from_str(self.name.as_slice());
let fill = column_count.saturating_sub(name.len());
let mut pad = String::from_owned_str(" ".repeat(fill));
let mut pad = " ".repeat(fill);
match align {
PadNone => name,
PadOnLeft => {