]> git.lizzy.rs Git - rust.git/commitdiff
Merge #11311
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 17 Jan 2022 23:57:30 +0000 (23:57 +0000)
committerGitHub <noreply@github.com>
Mon, 17 Jan 2022 23:57:30 +0000 (23:57 +0000)
11311: fix: insert auto-imports after header comments r=repnop a=repnop

Fixes #8607.

This commit changes the auto-import functionality and causes it to add imports after any leading comments, which are commonly license headers. This does not affect comments on items as they're considered part of the item itself and not separate.

Co-authored-by: Wesley Norris <repnop@outlook.com>

Trivial merge