Skip to content

fix: use try_shrink instead of shrink in try_resize#20424

Open
ariel-miculas wants to merge 1 commit intoapache:mainfrom
ariel-miculas:use-try-shrink
Open

fix: use try_shrink instead of shrink in try_resize#20424
ariel-miculas wants to merge 1 commit intoapache:mainfrom
ariel-miculas:use-try-shrink

Conversation

@ariel-miculas
Copy link

Which issue does this PR close?

No issue

Rationale for this change

The try_ functions should return errors instead of panicking.

What changes are included in this PR?

use try_shrink instead of shrink

Are these changes tested?

No, try_shrink is already tested.

Are there any user-facing changes?

No

@github-actions github-actions bot added the execution Related to the execution crate label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

execution Related to the execution crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments