Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve redundant_static_lifetimes clippy lint from PR 2471
error: constants have by default a `'static` lifetime --> serde/src/de/impls.rs:2467:24 | 2467 | pub const FIELDS: &'static [&'static str] = &["end"]; | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes = note: `-D clippy::redundant-static-lifetimes` implied by `-D clippy::all` error: constants have by default a `'static` lifetime --> serde/src/de/impls.rs:2467:34 | 2467 | pub const FIELDS: &'static [&'static str] = &["end"]; | -^^^^^^^---- help: consider removing `'static`: `&str` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes error: constants have by default a `'static` lifetime --> serde/src/de/impls.rs:2605:24 | 2605 | pub const FIELDS: &'static [&'static str] = &["start"]; | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes error: constants have by default a `'static` lifetime --> serde/src/de/impls.rs:2605:34 | 2605 | pub const FIELDS: &'static [&'static str] = &["start"]; | -^^^^^^^---- help: consider removing `'static`: `&str` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
- Loading branch information