diff options
author | Daniel Eades <danieleades@hotmail.com> | 2021-12-27 11:37:22 +0000 |
---|---|---|
committer | Daniel Eades <danieleades@hotmail.com> | 2021-12-28 18:26:48 +0000 |
commit | 0d5a577ef7d87b45d807d6774bf46c191b152500 (patch) | |
tree | a9c4ada452df094995a7f99bc94903ada5bc2f3f /src/source.rs | |
parent | 9aa13c6c8ac28b4e2b5c7bf3bcdb32563d802b35 (diff) |
collapse repeated type bound
Diffstat (limited to 'src/source.rs')
-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()) |