Don't need to qualify String

This commit is contained in:
Alex Crichton 2015-08-11 09:18:52 -07:00
parent baf77e44c3
commit b70f6e53b2

View file

@ -43,7 +43,6 @@
use std::collections::BTreeMap; use std::collections::BTreeMap;
use std::str::FromStr; use std::str::FromStr;
use std::string;
pub use parser::{Parser, ParserError}; pub use parser::{Parser, ParserError};
@ -76,7 +75,7 @@ pub enum Value {
pub type Array = Vec<Value>; pub type Array = Vec<Value>;
/// Type representing a TOML table, payload of the Value::Table variant /// Type representing a TOML table, payload of the Value::Table variant
pub type Table = BTreeMap<string::String, Value>; pub type Table = BTreeMap<String, Value>;
impl Value { impl Value {
/// Tests whether this and another value have the same type. /// Tests whether this and another value have the same type.