Fix a deprecation warning
This commit is contained in:
parent
0a6a1cabde
commit
c6b2aea11e
|
@ -25,7 +25,7 @@
|
||||||
//! capabilities:
|
//! capabilities:
|
||||||
//!
|
//!
|
||||||
//! * `String` => `toml::Value` - via `Parser`
|
//! * `String` => `toml::Value` - via `Parser`
|
||||||
//! * `toml::Value` => `String` - via `Show`
|
//! * `toml::Value` => `String` - via `Display`
|
||||||
//! * `toml::Value` => rust object - via `Decoder`
|
//! * `toml::Value` => rust object - via `Decoder`
|
||||||
//! * rust object => `toml::Value` - via `Encoder`
|
//! * rust object => `toml::Value` - via `Encoder`
|
||||||
//!
|
//!
|
||||||
|
@ -62,7 +62,7 @@ mod show;
|
||||||
mod serialization;
|
mod serialization;
|
||||||
|
|
||||||
/// Representation of a TOML value.
|
/// Representation of a TOML value.
|
||||||
#[derive(PartialEq, Clone, Show)]
|
#[derive(PartialEq, Clone, Debug)]
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
pub enum Value {
|
pub enum Value {
|
||||||
String(string::String),
|
String(string::String),
|
||||||
|
|
Loading…
Reference in a new issue