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

Bump Diplomat and use DiplomatChar #4349

Merged
merged 7 commits into from
Nov 22, 2023
Merged

Conversation

robertbastian
Copy link
Member

@robertbastian robertbastian commented Nov 22, 2023

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

@robertbastian robertbastian removed the request for review from echeran November 22, 2023 15:17
sffc
sffc previously requested changes Nov 22, 2023
}

/// See [`Self::remove_char`]
pub fn remove_u32(&mut self, c: u32) {
Copy link
Member

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)

Copy link
Member Author

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?

Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

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

@robertbastian robertbastian merged commit 6f1a04b into unicode-org:main Nov 22, 2023
29 checks passed
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.

3 participants