Skip to main content

detect_language

Function detect_language 

Source
pub fn detect_language(path: &Path) -> Option<LangId>
Expand description

Detect a file’s language, resolving ambiguous headers from their contents.