From c6b2aea11ef68ba84c610e9cf2f472ae55cebc5a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 2 Feb 2015 22:29:51 -0800 Subject: [PATCH] Fix a deprecation warning --- src/lib.rs | 4 ++-- 1 file 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),