mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
fix cargo clippy
complaint (redundant_clone)
This commit is contained in:
parent
39e3c57198
commit
813e57d225
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ impl Formatter for Decf {
|
|||
Some(*field.field_char == 'G'),
|
||||
);
|
||||
// strip trailing zeroes
|
||||
if let Some(ref post_dec) = f_sci.post_decimal.clone() {
|
||||
if let Some(ref post_dec) = f_sci.post_decimal {
|
||||
let mut i = post_dec.len();
|
||||
{
|
||||
let mut it = post_dec.chars();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue