Skip to content

Fix a clippy warning#299

Open
zzl0 wants to merge 1 commit intodgrunwald:masterfrom
zzl0:dev
Open

Fix a clippy warning#299
zzl0 wants to merge 1 commit intodgrunwald:masterfrom
zzl0:dev

Conversation

@zzl0
Copy link

@zzl0 zzl0 commented Feb 12, 2025

This diff fixes the clippy warning about manual_strip: https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip

Screenshot 2025-02-12 at 10 36 06 AM

@markbt
Copy link
Collaborator

markbt commented Mar 6, 2025

String::strip_prefix was added in 1.45 but our MSRV is 1.41. 1.45 is nearly 5 years old at this point, so perhaps we could consider bumping the MSRV. I think the reason for holding back was the version of Rust in Debian stable, so will need to check that.

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.

2 participants