Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Clean up code

Joseph T. Lyons800c9958a377
diff --git a/crates/call/src/call.rs b/crates/call/src/call.rs
index 4f9ec080596..3561cc33852 100644
--- a/crates/call/src/call.rs
+++ b/crates/call/src/call.rs
@@ -310,7 +310,7 @@ impl ActiveCall {
})
}
- pub fn decline_incoming(&mut self, _cx: &mut ModelContext<Self>) -> Result<()> {
+ pub fn decline_incoming(&mut self, _: &mut ModelContext<Self>) -> Result<()> {
let call = self
.incoming_call
.0
diff --git a/crates/client/src/telemetry.rs b/crates/client/src/telemetry.rs
index 6b6b4b0a08d..076ac15710d 100644
--- a/crates/client/src/telemetry.rs
+++ b/crates/client/src/telemetry.rs
@@ -213,7 +213,7 @@ impl Telemetry {
drop(state);
let this = self.clone();
- cx.spawn(|_cx| async move {
+ cx.spawn(|_| async move {
// Avoiding calling `System::new_all()`, as there have been crashes related to it
let refresh_kind = RefreshKind::new()
.with_memory() // For memory usage
diff --git a/crates/welcome/src/welcome.rs b/crates/welcome/src/welcome.rs
index 6650ff45948..1c0b7472085 100644
--- a/crates/welcome/src/welcome.rs
+++ b/crates/welcome/src/welcome.rs
@@ -334,16 +334,3 @@ impl Item for WelcomePage {
f(*event)
}
}
-
-// TODO
-// - [X] get theme value
-// - [X] In selector
-// - [X] In main
-// - [ ] get value of keymap selector
-// - [X] In selector
-// - [X] In main
-// - [ ] get all button clicks
-// - [ ] get value of usage data enabled
-// - [ ] get value of crash reports enabled
-// - [ ] get welcome screen close
-// - [ ] test all events