Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ parse_float
Function
parse_float
src/graph/util/parser.rs:88–91 ·
view source on GitHub ↗
(i: &str)
Source
from the content-addressed store, hash-verified
86
}
87
88
pub fn parse_float(i: &str) -> IResult<&str, f32> {
89
let (i, (_, v)) = tuple((space0, float))(i)?;
90
Ok((i, v))
91
}
92
93
/// 用空格分割的两个数字
94
///
"1 2"
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected