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

@@ -1,7 +1,6 @@
//! Utility functions for Header implementations.
use std::from_str::FromStr;
use std::str::from_utf8;
use std::str::{FromStr, from_utf8};
/// Utility function that reads a single raw string when parsing a header
pub fn from_one_raw_str<T: FromStr>(raw: &[Vec<u8>]) -> Option<T> {