aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-02 22:29:51 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-02 22:29:51 -0800
commitc6b2aea11ef68ba84c610e9cf2f472ae55cebc5a (patch)
tree6a3e32e0026f330ce6dcc2f0137a09630e7d8581 /src
parent0a6a1cabded126552662ec45ed844e4ca9e5d502 (diff)
downloadmilf-rs-c6b2aea11ef68ba84c610e9cf2f472ae55cebc5a.tar.gz
milf-rs-c6b2aea11ef68ba84c610e9cf2f472ae55cebc5a.zip
Fix a deprecation warning
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2e31e1d..581aee6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -25,7 +25,7 @@
//! capabilities:
//!
//! * `String` => `toml::Value` - via `Parser`
-//! * `toml::Value` => `String` - via `Show`
+//! * `toml::Value` => `String` - via `Display`
//! * `toml::Value` => rust object - via `Decoder`
//! * rust object => `toml::Value` - via `Encoder`
//!
@@ -62,7 +62,7 @@ mod show;
mod serialization;
/// Representation of a TOML value.
-#[derive(PartialEq, Clone, Show)]
+#[derive(PartialEq, Clone, Debug)]
#[allow(missing_docs)]
pub enum Value {
String(string::String),