From b53e9f17d336bc3550ab2c5eda503bd9e719e94f Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 7 Jan 2015 10:27:52 -0800 Subject: Register new snapshots --- src/libserialize/json.rs | 8 -------- src/libserialize/lib.rs | 1 - 2 files changed, 9 deletions(-) (limited to 'src/libserialize') diff --git a/src/libserialize/json.rs b/src/libserialize/json.rs index b7bf40a6ec5..fd0b5c55903 100644 --- a/src/libserialize/json.rs +++ b/src/libserialize/json.rs @@ -2458,14 +2458,6 @@ impl<'a> fmt::String for PrettyJson<'a> { } } -#[cfg(stage0)] -//NOTE(stage0): remove impl after snapshot -impl<'a, T: Encodable> fmt::Show for AsJson<'a, T> { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - fmt::String::fmt(self, f) - } -} - impl<'a, T: Encodable> fmt::String for AsJson<'a, T> { /// Encodes a json value into a string fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { diff --git a/src/libserialize/lib.rs b/src/libserialize/lib.rs index 139170fc012..f0a51fcea18 100644 --- a/src/libserialize/lib.rs +++ b/src/libserialize/lib.rs @@ -25,7 +25,6 @@ Core encoding and decoding interfaces. #![allow(unknown_features)] #![feature(slicing_syntax)] #![feature(old_impl_check)] -#![cfg_attr(stage0, allow(unused_attributes))] // test harness access #[cfg(test)] extern crate test; -- cgit 1.4.1-3-g733a5