MCPcopy 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

parseMethod · 0.85
try_fromMethod · 0.85
fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected