Add parse_int and parse_float.

This commit is contained in:
Stephen Chung
2020-09-23 12:00:03 +08:00
parent 035b9cb839
commit ed38b50490
6 changed files with 85 additions and 5 deletions

View File

@@ -151,6 +151,7 @@ fn to_string<T: Display>(x: &mut T) -> ImmutableString {
fn to_debug<T: Debug>(x: &mut T) -> ImmutableString {
format!("{:?}", x).into()
}
#[cfg(not(feature = "no_object"))]
mod format_map {
use super::*;