We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a684e6 commit ee72432Copy full SHA for ee72432
src/reader.rs
@@ -326,17 +326,6 @@ pub fn try_read_bool(input: &str) -> IResult<&str, Value> {
326
Ok((rest_input, Value::Boolean(bool.parse().unwrap())))
327
}
328
329
-// Tries to parse &str into Value::Nil
330
-/// Expects:
331
-/// nil
332
-/// Example success:
333
-/// nil => Value::Nil
334
-pub fn try_read_nil(input: &str) -> IResult<&str, Value> {
335
- named!(nil_parser<&str,&str>, tag!("nil"));
336
- let (rest_input, nil) = nil_parser(input)?;
337
- Ok((rest_input, Value::Nil))
338
-}
339
-
340
/// Tries to parse &str into Value::double
341
///
342
pub fn try_read_f64(input: &str) -> IResult<&str, Value> {
0 commit comments