diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-04-01 09:56:05 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-01 09:56:05 -0700 |
commit | cd33b87bf9a7f1e08fc73c436db51def4850855a (patch) | |
tree | 3a1fd521d59c58a0f2e0fce5086f20392657d50b /src | |
parent | c8a5ca4ece134ba390c7706afe15fa06b1e6d351 (diff) | |
download | milf-rs-cd33b87bf9a7f1e08fc73c436db51def4850855a.tar.gz milf-rs-cd33b87bf9a7f1e08fc73c436db51def4850855a.zip |
Bump to 0.1.20
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 1 | ||||
-rw-r--r-- | src/parser.rs | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -36,7 +36,6 @@ //! [2]: https://github.com/BurntSushi/toml-test #![doc(html_root_url = "http://alexcrichton.com/toml-rs")] -#![feature(core)] #![deny(missing_docs)] #![cfg_attr(test, deny(warnings))] diff --git a/src/parser.rs b/src/parser.rs index 377da24..9a15de8 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -3,7 +3,6 @@ use std::char; use std::collections::BTreeMap; use std::error::Error; use std::fmt; -use std::num::FromStrRadix; use std::str; use Table as TomlTable; @@ -392,7 +391,7 @@ impl<'a> Parser<'a> { } else { "invalid" }; - match FromStrRadix::from_str_radix(num, 16).ok() { + match u32::from_str_radix(num, 16).ok() { Some(n) => { match char::from_u32(n) { Some(c) => { |