about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src/partitioning/mod.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-25 16:42:35 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2022-12-25 17:32:26 +0100
commitd8874f259a00025e65439cd388f2465e412232d0 (patch)
treef957ca4a58b2ecd48befc7b3959e0daa75743923 /compiler/rustc_monomorphize/src/partitioning/mod.rs
parentd9ee0f468f8d07e92da94fe991db91e95822d721 (diff)
downloadrust-d8874f259a00025e65439cd388f2465e412232d0.tar.gz
rust-d8874f259a00025e65439cd388f2465e412232d0.zip
fix more clippy::style findings
match_result_ok
obfuscated_if_else
single_char_add
writeln_empty_string
collapsible_match
iter_cloned_collect
unnecessary_mut_passed
Diffstat (limited to 'compiler/rustc_monomorphize/src/partitioning/mod.rs')
-rw-r--r--compiler/rustc_monomorphize/src/partitioning/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_monomorphize/src/partitioning/mod.rs b/compiler/rustc_monomorphize/src/partitioning/mod.rs
index a55a3fe5cca..4f25fc71314 100644
--- a/compiler/rustc_monomorphize/src/partitioning/mod.rs
+++ b/compiler/rustc_monomorphize/src/partitioning/mod.rs
@@ -305,7 +305,7 @@ where
                 );
             }
 
-            let _ = writeln!(s, "");
+            let _ = writeln!(s);
         }
 
         std::mem::take(s)