summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/source.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/source.rs b/src/source.rs
index 0faf6d1..69cef56 100644
--- a/src/source.rs
+++ b/src/source.rs
@@ -123,9 +123,7 @@ impl Source for [Box<dyn Source + Send + Sync>] {
impl<T> Source for Vec<T>
where
- T: Source + Sync + Send,
- T: Clone,
- T: 'static,
+ T: Source + Sync + Send + Clone + 'static,
{
fn clone_into_box(&self) -> Box<dyn Source + Send + Sync> {
Box::new((*self).clone())