Skip to content

Commit

Permalink
chore: Rust 1.68.0 clippy linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Mar 9, 2023
1 parent 20b79e9 commit 5582c45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/docker_data/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ impl DockerData {
self.spawns
.lock()
.values()
.into_iter()
.for_each(tokio::task::JoinHandle::abort);
self.is_running
.store(false, std::sync::atomic::Ordering::SeqCst);
Expand Down
2 changes: 0 additions & 2 deletions src/ui/draw_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ pub fn heading_bar<B: Backend>(
/// From a given &str, return the maximum number of chars on a single line
fn max_line_width(text: &str) -> usize {
text.lines()
.into_iter()
.map(|i| i.chars().count())
.max()
.unwrap_or_default()
Expand Down Expand Up @@ -530,7 +529,6 @@ impl HelpInfo {
fn gen_name() -> Self {
let mut spans = NAME_TEXT
.lines()
.into_iter()
.map(|i| Spans::from(Self::white_span(i)))
.collect::<Vec<_>>();
spans.insert(0, Self::empty_span());
Expand Down

0 comments on commit 5582c45

Please sign in to comment.