Skip to content

bytes index-of panics when given empty byte slices - #18254

Merged
fdncred merged 1 commit into
nushell:mainfrom
Dorumin:bytes-index-empty
Jun 1, 2026
Merged

fdncred merged 1 commit into
nushell:mainfrom
Dorumin:bytes-index-empty

Conversation

@Dorumin

@Dorumin Dorumin commented May 20, 2026

Copy link
Copy Markdown
Contributor

Description

Don't do that

User-facing changes (Release notes)

bytes index-of doesn't panic on empty patterns anymore

Additional notes

@fdncred
fdncred merged commit d857a88 into nushell:main Jun 1, 2026
33 of 34 checks passed
@fdncred

fdncred commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Thanks!

@fdncred fdncred added notes:fixes Noted in "Bug fixes" section notes:ready Indicates Ready for Release notes labels Jun 1, 2026
@github-actions github-actions Bot added this to the v0.114.0 milestone Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:fixes Noted in "Bug fixes" section notes:ready Indicates Ready for Release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants