Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emwalker/digraph
/ from_str
Function
from_str
backend/src/types.rs:541–543 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
539
540
#[test]
541
fn from_str() {
542
assert_eq!(Locale::from_str(
"en"
).unwrap(), Locale::EN);
543
}
544
545
#[test]
546
fn to_string() {
Callers
3
parse
Method · 0.85
try_from
Method · 0.85
from
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected