-
Notifications
You must be signed in to change notification settings - Fork 0
Remove DirectoryFrontend #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6eda4d6
to
4e23950
Compare
Self::DirectoryRelativeOffset(x) => write!(fmt, "DirectoryRelativeOffset({:#x?})", x), | ||
Self::EntryRelativeOffset(x) => write!(fmt, "EntryRelativeOffset({:#x?})", x), | ||
Self::PhysicalAddress(x) => { | ||
write!(fmt, "PhysicalAddress({:#x?})", x) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you write this as, write!(fmt, "PhysicalAddress({x:#x?})")
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but I don't like magical string literal interpolation so much. Now one even has to be careful what to put in string literals, and scan it for variables to see whether those are in use? Not a fan.
And I say that as an IntelliJ IDEA user--in there, it's actually no problem.
Fixes <#8>.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modulo the most recent comments, which are pretty much down to little nits, I think this is probably good to go.
See also #8.
Note: Depends on #19 and was branched off that.