rustc_lexer

Function strip_shebang

source
pub fn strip_shebang(input: &str) -> Option<usize>
Expand description

rustc allows files to have a shebang, e.g. “#!/usr/bin/rustrun”, but shebang isn’t a part of rust syntax.