ZIm/crates/ui/src
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
..
components Remove unneeded 'static lifetimes on &strs in constants (#8698) 2024-03-02 00:40:49 -05:00
styles Switch LSP prompts to use a non-blocking toast (#8312) 2024-02-23 15:18:32 -08:00
utils ui: Fix doc tests (#3989) 2024-01-09 16:56:28 -05:00
clickable.rs Document ui crate traits 2024-01-09 14:15:25 -05:00
components.rs Use the already existing styles/typography for Headline 2024-01-05 15:59:34 -05:00
disableable.rs Fix possessive "its" in docs and comments (#3998) 2024-01-10 10:09:48 -05:00
fixed.rs Document ui crate traits 2024-01-09 14:15:25 -05:00
prelude.rs Port the rest of the app 2024-01-21 20:26:33 -08:00
selectable.rs Clean up references in doc comments in ui and theme crates (#3985) 2024-01-09 15:22:36 -05:00
styled_ext.rs Switch LSP prompts to use a non-blocking toast (#8312) 2024-02-23 15:18:32 -08:00
styles.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
ui.rs Document UI modules 2024-01-09 12:57:12 -05:00
utils.rs Document UI modules 2024-01-09 12:57:12 -05:00
visible_on_hover.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00