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.

picker: fix warnings

Piotr Osiewiczf6edc6861397
diff --git a/crates/picker/src/picker.rs b/crates/picker/src/picker.rs
index ee1eaf3bc95..33d6e842415 100644
--- a/crates/picker/src/picker.rs
+++ b/crates/picker/src/picker.rs
@@ -45,10 +45,10 @@ pub trait PickerDelegate: Sized + 'static {
fn center_selection_after_match_updates(&self) -> bool {
false
}
- fn render_header(&self, cx: &AppContext) -> Option<AnyElement<Picker<Self>>> {
+ fn render_header(&self, _cx: &AppContext) -> Option<AnyElement<Picker<Self>>> {
None
}
- fn render_footer(&self, cx: &AppContext) -> Option<AnyElement<Picker<Self>>> {
+ fn render_footer(&self, _cx: &AppContext) -> Option<AnyElement<Picker<Self>>> {
None
}
}