Skip to content

Commit

Permalink
chore: obey clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
graelo committed Sep 1, 2024
1 parent 399df62 commit f596ce0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/tmux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,11 @@ pub fn available_panes() -> Result<Vec<Pane>> {
result
}

/// Returns tmux global options as a `HashMap`. The prefix argument is for
/// convenience, in order to target only some of our options. For instance,
/// `get_options("@copyrat-")` will return a `HashMap` which keys are tmux options names like `@copyrat-command`, and associated values.
/// Returns tmux global options as a `HashMap`.
///
/// The prefix argument is for convenience, in order to target only some of our options. For
/// instance, `get_options("@copyrat-")` will return a `HashMap` which keys are tmux options names
/// like `@copyrat-command`, and associated values.
///
/// # Example
/// ```get_options("@copyrat-")```
Expand Down

0 comments on commit f596ce0

Please sign in to comment.