-
Notifications
You must be signed in to change notification settings - Fork 175
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
Bump Diplomat and use DiplomatChar
#4349
Conversation
} | ||
|
||
/// See [`Self::remove_char`] | ||
pub fn remove_u32(&mut self, c: u32) { |
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.
Issue: these functions should be named foo32
if they take a u32 argument and foo_u32
if they return a u32. Previous discussion: #2413 (comment)
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.
There are existing foo_u32
methods here. Do we want to break consistency?
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 I think we should try to follow the style we agreed upon. I don't know why the functions like add_u32
were not changed in #2460.
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.
The panics in this code are not new, they were in the Diplomat glue before. However, we should still remove them.Removed all panics
#2520