clippy: Fix redundant field names warnings (#31793)

This commit is contained in:
Oluwatobi Sofela
2024-03-21 00:05:29 +01:00
committed by GitHub
parent f55d1d288e
commit 2789e98876
97 changed files with 285 additions and 314 deletions

View File

@@ -701,8 +701,8 @@ pub fn get_reports(cx: *mut RawJSContext, path_seg: String) -> Vec<Report> {
let mut path = path![path_seg, "js"];
path.append(&mut path_suffix);
reports.push(Report {
path: path,
kind: kind,
path,
kind,
size: size as usize,
})
};