Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Jan 16, 2024
1 parent cb5cafa commit ae18808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl crate::looper::Looper for WebhookLogger {
let mut pre_chunked = String::new();

for (target, log_message) in messages {
for line in log_message.trim().split('\n') {
for line in log_message.lines() {
writeln!(pre_chunked, "`[{target}]`: {line}")?;
}
}
Expand Down

0 comments on commit ae18808

Please sign in to comment.