std::from_str has been moved to std::str

This commit is contained in:
Jakob Gillich
2014-11-17 20:09:53 +01:00
parent 11b32da5c4
commit 125e1f7d63
10 changed files with 10 additions and 17 deletions

View File

@@ -457,7 +457,7 @@ mod tests {
}
fn parse_header(raw: &[Vec<u8>]) -> Option<CrazyLength> {
use std::str::from_utf8;
use std::from_str::FromStr;
use std::str::FromStr;
if raw.len() != 1 {
return None;
@@ -551,4 +551,3 @@ mod tests {
assert_eq!(headers.len(), 0);
}
}