MCPcopy Create free account
hub / github.com/douchuan/algorithm / parse_list_rates

Function parse_list_rates

src/graph/util/parser.rs:115–119  ·  view source on GitHub ↗

USD 1 0.741 0.657 1.061 1.005

(i: &str)

Source from the content-addressed store, hash-verified

113
114// USD 1 0.741 0.657 1.061 1.005
115pub fn parse_list_rates(i: &str) -> IResult<&str, (&str, Vec<f32>)> {
116 let (i, name) = take_till(|c| c == ' ')(i)?;
117 let (i, rates) = parse_list_float(i)?;
118 Ok((i, (name, rates)))
119}
120
121enum SM {
122 V,

Callers 1

try_fromMethod · 0.85

Calls 1

parse_list_floatFunction · 0.85

Tested by

no test coverage detected