Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/actix/examples
/ lang_id
Method
lang_id
templating/fluent/src/lang_choice.rs:26–29 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
24
}
25
26
pub fn lang_id(&self) -> LanguageIdentifier {
27
// unwrap: lang ID should be valid given extraction method
28
self.0.parse().unwrap()
29
}
30
}
31
32
impl FromRequest for LangChoice {
Callers
1
not_found
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected