(literal: &str)
| 6 | use num_traits::{Float, Zero}; |
| 7 | |
| 8 | pub fn parse_str(literal: &str) -> Option<f64> { |
| 9 | parse_inner(literal.trim().as_bytes()) |
| 10 | } |
| 11 | |
| 12 | pub fn parse_bytes(literal: &[u8]) -> Option<f64> { |
| 13 | parse_inner(literal.trim_ascii()) |
nothing calls this directly
no test coverage detected