Function difft::parse::guess_language::from_shebang
source · fn from_shebang(src: &str) -> Option<Language>
Expand description
Try to guess the language based on a shebang present in the source.
fn from_shebang(src: &str) -> Option<Language>
Try to guess the language based on a shebang present in the source.