You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make extract_requirement_version return an Option (#294)
Rust 1.83 added support for `Option::expect` in `const` contexts:
https://blog.rust-lang.org/2024/11/28/Rust-1.83.0.html#stabilized-apis
This means we can now return an `Option` from
`extract_requirement_version` instead of panicing within it, which makes
it easier to test the function, and avoids the need to explain that the
panic inside the function was actually safe.
0 commit comments