[][src]Function rustc_lexer::strip_shebang

pub fn strip_shebang(input: &str) -> Option<usize>
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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