Skip to content

Commit

Permalink
fixed linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
blake-mealey committed Nov 9, 2021
1 parent 2382146 commit 44ba518
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ where
})
.collect::<Vec<_>>()
.join("\n")
.to_owned()
}

fn with_prefix<S1, S2>(text: S1, prefix: S2) -> String
Expand All @@ -37,10 +36,7 @@ where
}

fn get_line_prefix() -> String {
format!(
"{}",
" │ ".repeat(ACTION_COUNT.load(Ordering::SeqCst).into())
)
" │ ".repeat(ACTION_COUNT.load(Ordering::SeqCst).into())
}

pub fn log<S>(message: S)
Expand Down

0 comments on commit 44ba518

Please sign in to comment.