mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
881c618a6a
## Summary Removes unused code. No behavior changes. - `client`: - unused `UserStore` methods, including `contact_updates_done`, the only sender of `UpdateContacts::Wait`, so the variant also goes - `Telemetry::report_assistant_event` and `has_checksum_seed` - `Client::override_rpc_url` - `InviteInfo` - four `zed_urls` helpers - `call`, `channel`: unused `Room` and `ChannelStore` helpers. The collaborators handler no longer emits `CollaboratorsChanged` and notifies twice, because `replace_collaborators` already does both. - `collab`: unused DB types, `ChannelRole` predicates, and `Config` and `ConnectionPool` helpers. `return Err(..)?;` becomes `Err(..)?;`. - `livekit_api`: the empty `LiveKitParticipantUpdate`. - `#[allow]`s that no longer suppress anything, including in `id_type!` and the `non_snake_case` ones in `proto` and `rpc`. ## Testing - `./script/clippy` - `cargo test -p client -p call -p channel -p collab -p rpc -p proto -p livekit_api` (Postgres-backed DB tests not run locally) ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [x] Tests cover the new or changed behavior. Release Notes: - N/A