Skip to content

Commit

Permalink
style: fixing clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wllfaria committed May 9, 2024
1 parent e55d148 commit c84bec8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions reqtui/src/text_object/text_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,3 @@ impl<State> std::fmt::Display for TextObject<State> {
f.write_str(&self.content.to_string())
}
}

fn is_separator(c: char) -> bool {
c.is_whitespace() || matches!(c, '.' | '/' | '\'' | '"')
}
2 changes: 0 additions & 2 deletions tui/src/components/api_explorer/req_editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ pub struct ReqEditor<'a> {
editor_mode: EditorMode,
row_scroll: usize,
layout: ReqEditorLayout,
buffered_keys: String,
}

impl<'a> ReqEditor<'a> {
Expand Down Expand Up @@ -137,7 +136,6 @@ impl<'a> ReqEditor<'a> {
editor_mode: EditorMode::Normal,
row_scroll: 0,
layout: build_layout(size),
buffered_keys: String::default(),
}
}

Expand Down

0 comments on commit c84bec8

Please sign in to comment.