From c8a5ca4ece134ba390c7706afe15fa06b1e6d351 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 25 Mar 2015 10:11:05 -0700 Subject: Bump to 0.1.19 --- src/lib.rs | 2 +- src/serialization.rs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 85c340a..8d87562 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,7 +40,7 @@ #![deny(missing_docs)] #![cfg_attr(test, deny(warnings))] -extern crate "rustc-serialize" as rustc_serialize; +extern crate rustc_serialize; use std::collections::BTreeMap; use std::str::FromStr; diff --git a/src/serialization.rs b/src/serialization.rs index 03f9de3..565b4e7 100644 --- a/src/serialization.rs +++ b/src/serialization.rs @@ -23,8 +23,7 @@ use self::DecodeErrorKind::{ExpectedMapElement, NoEnumVariants, NilTooLong}; /// # Example /// /// ``` -/// # #![allow(unstable)] -/// extern crate "rustc-serialize" as rustc_serialize; +/// extern crate rustc_serialize; /// extern crate toml; /// /// # fn main() { @@ -32,7 +31,7 @@ use self::DecodeErrorKind::{ExpectedMapElement, NoEnumVariants, NilTooLong}; /// use rustc_serialize::Encodable; /// /// #[derive(RustcEncodable)] -/// struct MyStruct { foo: int, bar: String } +/// struct MyStruct { foo: isize, bar: String } /// let my_struct = MyStruct { foo: 4, bar: "hello!".to_string() }; /// /// let mut e = Encoder::new(); -- cgit v1.2.3