Skip to content

Commit cf815c0

Browse files
committed
Fixed the 'op_ref' clippy warning
Relevant lint: https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
1 parent 3582a88 commit cf815c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ impl Info {
465465
files_count += 1;
466466
}
467467
files_count -= 1; // As splitting giving one line extra(blank).
468-
let res = repo_size.to_owned() + &(" (") + &(files_count.to_string()) + &(" files)");
468+
let res = repo_size.to_owned() + (" (") + &(files_count.to_string()) + (" files)");
469469
Ok(res.into())
470470
} else {
471471
let res = repo_size;

0 commit comments

Comments
 (0)