diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-12-29 10:46:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 10:46:30 +0100 |
commit | 591423d8967a9a8f273240f8909d001d7ea0da66 (patch) | |
tree | 8ae7b513918c42a8bda2cc03aefa635b93d2ba93 /src | |
parent | f2399b73478c0409ab7599ef9d786a6ed58b3ebf (diff) | |
parent | 0d5a577ef7d87b45d807d6774bf46c191b152500 (diff) |
Merge pull request #266 from danieleades/refactor/condense-bound-predicate
collapse repeated type bound
Diffstat (limited to 'src')
-rw-r--r-- | src/source.rs | 4 |
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()) |