There was an error while loading. Please reload this page.
cargo clippy
1 parent 39e3c57 commit 813e57dCopy full SHA for 813e57d
1 file changed
src/uu/printf/src/tokenize/num_format/formatters/decf.rs
@@ -55,7 +55,7 @@ impl Formatter for Decf {
55
Some(*field.field_char == 'G'),
56
);
57
// strip trailing zeroes
58
- if let Some(ref post_dec) = f_sci.post_decimal.clone() {
+ if let Some(ref post_dec) = f_sci.post_decimal {
59
let mut i = post_dec.len();
60
{
61
let mut it = post_dec.chars();
0 commit comments