use/enable let_underscore_must_use
lint
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
71bdcb958a
commit
32161801ed
15 changed files with 91 additions and 74 deletions
|
@ -866,7 +866,7 @@ impl fmt::Display for Config {
|
|||
let mut msg: String = "Active config values:\n\n".to_owned();
|
||||
|
||||
for line in lines.into_iter().enumerate() {
|
||||
let _ = writeln!(msg, "{}: {}", line.1 .0, line.1 .1);
|
||||
writeln!(msg, "{}: {}", line.1 .0, line.1 .1).expect("should be able to write to string buffer");
|
||||
}
|
||||
|
||||
write!(f, "{msg}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue