summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/util.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2019-08-16 01:13:10 +0200
committerChristian Duerr <contact@christianduerr.com>2019-08-16 01:33:49 +0200
commitd9d698614ce828ba96ae101f280b37c5c80f607b (patch)
treea7e6eddcd3c63422191c2d05e933387a4deebbf4 /alacritty_terminal/src/util.rs
parent1da986ae2b5dd7c54875d45716eb2820920feaae (diff)
downloadalacritty-d9d698614ce828ba96ae101f280b37c5c80f607b.tar.gz
alacritty-d9d698614ce828ba96ae101f280b37c5c80f607b.zip
Fix clippy issues
Diffstat (limited to 'alacritty_terminal/src/util.rs')
-rw-r--r--alacritty_terminal/src/util.rs3
1 files changed, 1 insertions, 2 deletions
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<F, T, S>(name: S, f: F) -> ::std::thread::JoinHandle<T>
where
- F: FnOnce() -> T,
- F: Send + 'static,
+ F: FnOnce() -> T + Send + 'static,
T: Send + 'static,
S: Into<String>,
{