Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ from_str
Method
from_str
crates/common/src/format.rs:1083–1085 ·
view source on GitHub ↗
(s: &str)
Source
from the content-addressed store, hash-verified
1081
impl FromStr for FormatSpec {
1082
type Err = FormatSpecError;
1083
fn from_str(s: &str) -> Result<Self, Self::Err> {
1084
Self::parse(s)
1085
}
1086
}
1087
1088
#[derive(Debug, PartialEq)]
Callers
nothing calls this directly
Calls
5
new
Function · 0.85
parse
Function · 0.50
is_empty
Method · 0.45
map
Method · 0.45
push
Method · 0.45
Tested by
no test coverage detected