mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Remove unnecessary parentheses around closure body, to fix unused-parens warning
This commit is contained in:
parent
eabb4cd923
commit
8fd9309102
@ -204,7 +204,7 @@ impl<'a> SummariesCache<'a> {
|
||||
let size = self
|
||||
.versions
|
||||
.iter()
|
||||
.map(|(_version, data)| (10 + data.len()))
|
||||
.map(|(_version, data)| 10 + data.len())
|
||||
.sum();
|
||||
let mut contents = Vec::with_capacity(size);
|
||||
contents.push(CURRENT_CACHE_VERSION);
|
||||
|
Loading…
x
Reference in New Issue
Block a user