picker: fix warnings

Piotr Osiewicz created

Change summary

crates/picker/src/picker.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

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
     }
 }