From 0d5a577ef7d87b45d807d6774bf46c191b152500 Mon Sep 17 00:00:00 2001 From: Daniel Eades Date: Mon, 27 Dec 2021 11:37:22 +0000 Subject: collapse repeated type bound --- src/source.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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] { impl Source for Vec where - T: Source + Sync + Send, - T: Clone, - T: 'static, + T: Source + Sync + Send + Clone + 'static, { fn clone_into_box(&self) -> Box { Box::new((*self).clone()) -- cgit v1.2.3