Skip to content
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

Don't require S: Debug for impl Debug for Router<S> #1836

Merged
merged 3 commits into from
Mar 10, 2023

Conversation

davidpdrsn
Copy link
Member

This bound wasn't necessary since the routes are boxed and don't
actually print the state.

This bound wasn't necessary since the routes are boxed and don't
actually print the state.
@davidpdrsn davidpdrsn requested a review from jplatte March 10, 2023 11:00
@davidpdrsn davidpdrsn enabled auto-merge (squash) March 10, 2023 11:00
where
S: fmt::Debug,
{
impl<S, B> fmt::Debug for Router<S, B> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to print the new prev_route_id field in the Debug impl?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure! Added in 5c11c5c

@davidpdrsn davidpdrsn merged commit e56e1b3 into main Mar 10, 2023
@davidpdrsn davidpdrsn deleted the david/remove-unnecessary-debug-constraint branch March 10, 2023 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants