ZIm/crates/rpc/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
..
auth.rs Fix typos 2023-06-02 22:02:19 -04:00
conn.rs Remove 2 suffix for fs, db, semantic_index, prettier 2024-01-03 12:09:42 -08:00
error.rs disallow opening private files (#7165) 2024-01-31 12:05:51 -08:00
macros.rs Check user is host for host-broadcasted project messages 2024-01-08 12:04:59 -08:00
notification.rs Remove unneeded 'static lifetimes on &strs in constants (#8698) 2024-03-02 00:40:49 -05:00
peer.rs Allow reconnect before disconnect (#8684) 2024-03-01 15:41:32 -07:00
proto.rs Editor: support go to implementation (#7890) 2024-02-22 14:22:04 +01:00
rpc.rs TEMP 2024-01-25 13:24:45 -07:00