refactor(parser): import from std at top level#20737
Conversation
There was a problem hiding this comment.
Pull request overview
Refactors the parser’s modifiers module to import std::fmt items at the top level, reducing repeated fully-qualified std::fmt::* paths in Display implementations.
Changes:
- Import
std::fmt::{self, Display}at module scope. - Update
Displayimpls to usefmt::Formatter/fmt::Resultand the in-scopeDisplaytrait.
Merging this PR will not alter performance
Comparing Footnotes
|
Merge activity
|
Pure refactor. Import from `std` at top level, to shorten code elsewhere.
7f93983 to
f9d016b
Compare
f9d016b to
e8a9a3c
Compare
Pure refactor. Import from `std` at top level, to shorten code elsewhere.
e8a9a3c to
14868fb
Compare

Pure refactor. Import from
stdat top level, to shorten code elsewhere.