[−][src]Function rustc_ap_rustc_lexer::strip_shebang
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.
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.