Skip to content

Commit

Permalink
chore(tmux): obey clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
graelo committed Aug 18, 2022
1 parent e9baef7 commit 7a38e56
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/tmux/pane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use super::pane_id::PaneId;
use crate::error;
use serde::{Deserialize, Serialize};

#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct Pane {
/// Pane identifier, e.g. `%37`.
pub id: PaneId,
Expand Down
2 changes: 1 addition & 1 deletion src/tmux/pane_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::str::FromStr;
use crate::error;
use serde::{Deserialize, Serialize};

#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct PaneId(pub String);

impl FromStr for PaneId {
Expand Down
2 changes: 1 addition & 1 deletion src/tmux/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use serde::{Deserialize, Serialize};
use super::session_id::SessionId;
use crate::error::ParseError;

#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct Session {
/// Session identifier, e.g. `$3`.
pub id: SessionId,
Expand Down
2 changes: 1 addition & 1 deletion src/tmux/session_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};

use crate::error::ParseError;

#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct SessionId(String);

impl FromStr for SessionId {
Expand Down
2 changes: 1 addition & 1 deletion src/tmux/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use serde::{Deserialize, Serialize};
use super::window_id::WindowId;
use crate::error::ParseError;

#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct Window {
/// Window identifier, e.g. `@3`.
pub id: WindowId,
Expand Down
2 changes: 1 addition & 1 deletion src/tmux/window_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};

use crate::error;

#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct WindowId(String);

impl FromStr for WindowId {
Expand Down

0 comments on commit 7a38e56

Please sign in to comment.