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

Use saturating_len where possible #2316

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Conversation

svyatonik
Copy link
Contributor

instead of .checked_len().unwrap_or(0). Also simplified checked_len a bit

@svyatonik svyatonik force-pushed the saturating_len_for_range_ext branch from 60dbc35 to b2b78b5 Compare August 2, 2023 07:44
@svyatonik svyatonik merged commit 95bcf32 into master Aug 2, 2023
@svyatonik svyatonik deleted the saturating_len_for_range_ext branch August 2, 2023 08:57
bkontur pushed a commit that referenced this pull request May 7, 2024
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