Skip to content

Conversation

@bheylin
Copy link
Contributor

@bheylin bheylin commented Nov 9, 2025

This is a postscript to #220 that removes the last index into a byte slice in release code from the fn authorization::Basic::decode.

Using &[u8]::trim_ascii_start makes it simpler to infer that the fn decode can't panic.

@bheylin
Copy link
Contributor Author

bheylin commented Nov 9, 2025

@seanmonstar I'm going to close this PR as I'm presuming you don't want to break MSRV for the sake of this change 😉

@bheylin bheylin closed this Nov 9, 2025
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.

1 participant