Function recognize_float
fn recognize_float<T, E: ParseError<T>>() -> impl Parser<T, Output = T, Error = E>
where
T: Clone + Offset + Input,
<T as Input>::Item: AsChar
Recognizes a floating point number in text format and returns the corresponding part of the input.
Streaming version: Will return Err(nom::Err::Incomplete(_)) if it reaches the end of input.
# use ;
use recognize_float;
let parser = ;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;