From ae7a0090ff9061e6e38e46bbce048ff2839070fc Mon Sep 17 00:00:00 2001 From: panicbit Date: Fri, 4 Oct 2019 21:22:04 +0200 Subject: [PATCH] Allow SelectView::with_all to accept StyledString (#385) --- src/views/select_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/select_view.rs b/src/views/select_view.rs index f12e11c..3a29897 100644 --- a/src/views/select_view.rs +++ b/src/views/select_view.rs @@ -343,7 +343,7 @@ impl SelectView { /// Chainable variant. pub fn with_all(self, iter: I) -> Self where - S: Into, + S: Into, I: IntoIterator, { self.with(|s| s.add_all(iter))