Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inline State::new_from_input in pprust
This function took too many arguments and are simple on the inside; inlining them makes complexity go down. hir::print's copy is unfortunately used from librustc_driver so inlining it is not as straightforward.
- Loading branch information
1 parent
e0db2e6
commit e0ffa7c
Showing
1 changed file
with
6 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters