regex icon indicating copy to clipboard operation
regex copied to clipboard

Move regex-capi to 2021 & inline format-args

Open nyurik opened this issue 1 year ago • 2 comments

This makes the code a bit easier to read and smaller.

The capi crate was updated to the 2021 edition to avoid accidental panic! and other edge cases with inlined formats.

Some of it was done with this command, and later fixed by hand:

 cargo clippy --workspace --allow-dirty --fix --benches --tests --bins -- -A clippy::all -W clippy::uninlined_format_args

nyurik avatar Oct 16 '23 04:10 nyurik

fixed

nyurik avatar Oct 16 '23 16:10 nyurik

@BurntSushi hi, friendly ping - let me know if anything else is needed for this and other regex PRs. Thx!

nyurik avatar Oct 21 '23 21:10 nyurik