Files
oak-gpui/crates
Marshall Bowers ca2cda8d2a Remove unneeded 'static lifetimes on &strs in constants (#8698)
This PR removes unneeded `'static` lifetimes on `&str`s stored in
`const` declarations.

This addresses some Clippy lints about
[`redundant_static_lifetimes`](https://rust-lang.github.io/rust-clippy/master/index.html#/redundant_static_lifetimes).

In item-level `const` declarations we can rely on lifetime elision and
use the default `'static` lifetime.

Note that associated constants still require an explicit `'static`
lifetime, as explained in
https://github.com/rust-lang/rust/issues/115010.

Release Notes:

- N/A
2024-03-02 00:40:49 -05:00
..
2024-02-28 19:23:36 -07:00
2024-02-26 22:15:11 -07:00
2024-02-26 22:15:11 -07:00
2024-02-22 22:28:08 -05:00
2024-02-28 19:23:36 -07:00
2024-03-01 23:22:22 -05:00
2024-03-01 21:07:39 -05:00
2024-01-29 23:47:20 -05:00
2024-02-27 14:29:27 -07:00
2024-02-28 19:23:36 -07:00