From d9d698614ce828ba96ae101f280b37c5c80f607b Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Fri, 16 Aug 2019 01:13:10 +0200 Subject: Fix clippy issues --- alacritty_terminal/src/util.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'alacritty_terminal/src/util.rs') diff --git a/alacritty_terminal/src/util.rs b/alacritty_terminal/src/util.rs index 250fa430..7758de0f 100644 --- a/alacritty_terminal/src/util.rs +++ b/alacritty_terminal/src/util.rs @@ -29,8 +29,7 @@ pub mod thread { /// Like `thread::spawn`, but with a `name` argument pub fn spawn_named(name: S, f: F) -> ::std::thread::JoinHandle where - F: FnOnce() -> T, - F: Send + 'static, + F: FnOnce() -> T + Send + 'static, T: Send + 'static, S: Into, { -- cgit