ZIm/crates/collab/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
..
api Make collab quieter on startup (#8685) 2024-03-01 13:39:13 -07:00
bin Fix seed-db script by passing it the correct admin file path (#8022) 2024-02-19 18:53:17 +02:00
db Remove unneeded 'static lifetimes on &strs in constants (#8698) 2024-03-02 00:40:49 -05:00
rpc talkers (#8158) 2024-02-22 10:07:36 -07:00
tests Remove unneeded 'static lifetimes on &strs in constants (#8698) 2024-03-02 00:40:49 -05:00
api.rs Upload crashes to collab directly (#8649) 2024-03-01 13:23:44 -07:00
auth.rs Replace lazy_static! with OnceLock in collab crate (#8677) 2024-03-01 11:24:53 -05:00
db.rs Remove unneeded 'static lifetimes on &strs in constants (#8698) 2024-03-02 00:40:49 -05:00
env.rs Add an extensions API to the collaboration server (#7807) 2024-02-15 12:53:57 -08:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
lib.rs Remove expects when constructing Clickhouse client (#8697) 2024-03-01 23:10:02 -05:00
main.rs Remove unneeded 'static lifetimes on &strs in constants (#8698) 2024-03-02 00:40:49 -05:00
rpc.rs Allow reconnect before disconnect (#8684) 2024-03-01 15:41:32 -07:00
tests.rs Add initial support for defining language server adapters in WebAssembly-based extensions (#8645) 2024-03-01 16:00:55 -08:00