aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-25 10:11:05 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-25 10:11:05 -0700
commitc8a5ca4ece134ba390c7706afe15fa06b1e6d351 (patch)
treeb5368ec7358a3e8b0166932c3d58addf5f7ecfdf
parent2c5aa077225bb0acea2bf81912a8774e8707a518 (diff)
downloadmilf-rs-c8a5ca4ece134ba390c7706afe15fa06b1e6d351.tar.gz
milf-rs-c8a5ca4ece134ba390c7706afe15fa06b1e6d351.zip
Bump to 0.1.19
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs2
-rw-r--r--src/serialization.rs5
-rw-r--r--tests/valid.rs2
4 files changed, 5 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c78d213..fbd3d9f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "toml"
-version = "0.1.18"
+version = "0.1.19"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
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();
diff --git a/tests/valid.rs b/tests/valid.rs
index 5693492..568518b 100644
--- a/tests/valid.rs
+++ b/tests/valid.rs
@@ -1,4 +1,4 @@
-extern crate "rustc-serialize" as rustc_serialize;
+extern crate rustc_serialize;
extern crate toml;
use std::collections::BTreeMap;