Bump to 0.1.20
This commit is contained in:
parent
c8a5ca4ece
commit
cd33b87bf9
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
|
|
||||||
name = "toml"
|
name = "toml"
|
||||||
version = "0.1.19"
|
version = "0.1.20"
|
||||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
//! [2]: https://github.com/BurntSushi/toml-test
|
//! [2]: https://github.com/BurntSushi/toml-test
|
||||||
|
|
||||||
#![doc(html_root_url = "http://alexcrichton.com/toml-rs")]
|
#![doc(html_root_url = "http://alexcrichton.com/toml-rs")]
|
||||||
#![feature(core)]
|
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
#![cfg_attr(test, deny(warnings))]
|
#![cfg_attr(test, deny(warnings))]
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@ use std::char;
|
||||||
use std::collections::BTreeMap;
|
use std::collections::BTreeMap;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::num::FromStrRadix;
|
|
||||||
use std::str;
|
use std::str;
|
||||||
|
|
||||||
use Table as TomlTable;
|
use Table as TomlTable;
|
||||||
|
@ -392,7 +391,7 @@ impl<'a> Parser<'a> {
|
||||||
} else {
|
} else {
|
||||||
"invalid"
|
"invalid"
|
||||||
};
|
};
|
||||||
match FromStrRadix::from_str_radix(num, 16).ok() {
|
match u32::from_str_radix(num, 16).ok() {
|
||||||
Some(n) => {
|
Some(n) => {
|
||||||
match char::from_u32(n) {
|
match char::from_u32(n) {
|
||||||
Some(c) => {
|
Some(c) => {
|
||||||
|
|
Loading…
Reference in a new issue