Skip to content

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

Merged
merged 14 commits into from
Aug 16, 2022
Merged

Remove DirectoryFrontend #20

merged 14 commits into from
Aug 16, 2022

Conversation

daym
Copy link
Collaborator

@daym daym commented Aug 12, 2022

See also #8.

Note: Depends on #19 and was branched off that.

@daym daym requested a review from dancrossnyc August 12, 2022 08:51
@daym daym force-pushed the issue-8 branch 3 times, most recently from 6eda4d6 to 4e23950 Compare August 12, 2022 13:04
Self::DirectoryRelativeOffset(x) => write!(fmt, "DirectoryRelativeOffset({:#x?})", x),
Self::EntryRelativeOffset(x) => write!(fmt, "EntryRelativeOffset({:#x?})", x),
Self::PhysicalAddress(x) => {
write!(fmt, "PhysicalAddress({:#x?})", x)
Copy link
Contributor

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?})") ?

Copy link
Collaborator Author

@daym daym Aug 16, 2022

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.

Copy link
Contributor

@dancrossnyc dancrossnyc left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants