summaryrefslogtreecommitdiff
path: root/src/helpers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers.rs')
-rw-r--r--src/helpers.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helpers.rs b/src/helpers.rs
index e67aecc..5a2844d 100644
--- a/src/helpers.rs
+++ b/src/helpers.rs
@@ -6,7 +6,7 @@ use crate::{
};
use std::{ffi::OsStr, process::Command};
-/// Syntax sugar for creating [`Keybind`]s. This is helpful for writing [`crate::config::KEYBINDS`]
+/// Syntax sugar for creating [`Keybind`](`crate::keys::Keybind`)s. This is helpful for writing [`crate::config::KEYBINDS`]
///
/// ```rust
/// /// Control + Shift + t prints "It Works!"
@@ -23,7 +23,7 @@ macro_rules! bind {
};
}
-/// Syntax sugar for creating [`ButtonBind`]s. See also: [`self::bind`].
+/// Syntax sugar for creating [`ButtonBind`](`crate::buttons::ButtonBind`)s. See also: [`crate::bind`].
#[macro_export]
macro_rules! bind_btn {
($mod:expr , $key:ident -> $action:expr) => {
@@ -35,7 +35,7 @@ macro_rules! bind_btn {
};
}
-/// Execute the given command with arguments, disowning the process.
+/// Execute the given command with arguments.
pub fn spawn<I, S>(cmd: &str, args: I)
where
I: IntoIterator<Item = S>,