Skip to main content

language_for

Function language_for 

Source
pub fn language_for(path: &Path) -> Language
Expand description

Pick the highlighting language from a file’s extension.