From f6edc6861397c07c166bd6d074fb928663b248e6 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Mon, 26 Jun 2023 17:07:33 +0200 Subject: [PATCH] picker: fix warnings --- crates/picker/src/picker.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/picker/src/picker.rs b/crates/picker/src/picker.rs index ee1eaf3bc9..33d6e84241 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>> { + fn render_header(&self, _cx: &AppContext) -> Option>> { None } - fn render_footer(&self, cx: &AppContext) -> Option>> { + fn render_footer(&self, _cx: &AppContext) -> Option>> { None } }