(i: &str)
| 102 | } |
| 103 | |
| 104 | pub fn parse_list_float(i: &str) -> IResult<&str, Vec<f32>> { |
| 105 | let sep = " "; |
| 106 | separated_list1(tag(sep), parse_float)(i) |
| 107 | } |
| 108 | |
| 109 | /// 用sep分割的字符串 |
| 110 | pub fn parse_list_str<'a>(i: &'a str, sep: &str) -> IResult<&'a str, Vec<&'a str>> { |
no outgoing calls
no test coverage detected