Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve Rust 1.75's new get_first clippy lint
warning: accessing first element with `values.get(0)` --> src/i18n.rs:20:31 | 20 | let email = match values.get(0) { | ^^^^^^^^^^^^^ help: try: `values.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `#[warn(clippy::get_first)]` on by default warning: accessing first element with `values.get(0)` --> src/i18n.rs:30:30 | 30 | let text = match values.get(0) { | ^^^^^^^^^^^^^ help: try: `values.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
- Loading branch information