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.

Code quality

Conrad Irwin6084486dcdb9
diff --git a/crates/client/src/client.rs b/crates/client/src/client.rs
index 22e8bc06d4e..5767ac54b78 100644
--- a/crates/client/src/client.rs
+++ b/crates/client/src/client.rs
@@ -798,7 +798,7 @@ impl Client {
}
}
}
- status = status_rx.next().fuse() => {
+ _ = status_rx.next().fuse() => {
return Err(anyhow!("authentication canceled"));
}
}
diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs
index 9ec05e07c81..8a8fde88eee 100644
--- a/crates/collab_ui/src/collab_panel.rs
+++ b/crates/collab_ui/src/collab_panel.rs
@@ -1976,21 +1976,18 @@ impl CollabPanel {
let style = collab_theme.channel_name.inactive_state();
Flex::row()
.with_child(
- Label::new(
- channel.name.clone().to_owned() + channel_id.to_string().as_str(),
- style.text.clone(),
- )
- .contained()
- .with_style(style.container)
- .aligned()
- .left()
- .with_tooltip::<ChannelTooltip>(
- ix,
- "Join channel",
- None,
- theme.tooltip.clone(),
- cx,
- ),
+ Label::new(channel.name.clone(), style.text.clone())
+ .contained()
+ .with_style(style.container)
+ .aligned()
+ .left()
+ .with_tooltip::<ChannelTooltip>(
+ ix,
+ "Join channel",
+ None,
+ theme.tooltip.clone(),
+ cx,
+ ),
)
.with_children({
let participants =