]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #72757 - petrochenkov:shebang, r=varkor
authorRalf Jung <post@ralfj.de>
Sat, 30 May 2020 21:08:58 +0000 (23:08 +0200)
committerGitHub <noreply@github.com>
Sat, 30 May 2020 21:08:58 +0000 (23:08 +0200)
rustc_lexer: Optimize shebang detection slightly

Sorry, I just couldn't resist.
It shouldn't make any difference in practice.

Also, documented a previously unnoticed case with doc comments treated as regular comments during shebang detection.


Trivial merge