Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/ui/picker.rs')
| -rw-r--r-- | helix-term/src/ui/picker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index 4f509530..ebc06cc0 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -298,7 +298,7 @@ impl<T: 'static + Send + Sync, D: 'static + Send + Sync> Picker<T, D> { pub fn new( columns: Vec<Column<T, D>>, primary_column: usize, - options: Vec<T>, + options: impl IntoIterator<Item = T>, editor_data: D, callback_fn: impl Fn(&mut Context, &T, Action) + 'static, ) -> Self { |