summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/util.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-05-05 22:50:23 +0000
committerGitHub <noreply@github.com>2020-05-05 22:50:23 +0000
commit81ce93574f62d4b117fdd79af65391f30316a457 (patch)
tree951a0578860c6028e2dfff0ca83879001c6b2385 /alacritty_terminal/src/util.rs
parent04f0bcaf54ed373128ca0f84ee8fcdd8e52bce23 (diff)
downloadalacritty-81ce93574f62d4b117fdd79af65391f30316a457.tar.gz
alacritty-81ce93574f62d4b117fdd79af65391f30316a457.zip
Extend style guideline documentation
Diffstat (limited to 'alacritty_terminal/src/util.rs')
-rw-r--r--alacritty_terminal/src/util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/util.rs b/alacritty_terminal/src/util.rs
index 7758de0f..9203bb47 100644
--- a/alacritty_terminal/src/util.rs
+++ b/alacritty_terminal/src/util.rs
@@ -24,9 +24,9 @@ use std::os::windows::process::CommandExt;
#[cfg(windows)]
use winapi::um::winbase::{CREATE_NEW_PROCESS_GROUP, CREATE_NO_WINDOW};
-/// Threading utilities
+/// Threading utilities.
pub mod thread {
- /// Like `thread::spawn`, but with a `name` argument
+ /// 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 + Send + 'static,