Function rustc_lexer::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.
pub fn strip_shebang(input: &str) -> Option<usize>rustc allows files to have a shebang, e.g. “#!/usr/bin/rustrun”,
but shebang isn’t a part of rust syntax.