Skip to content

Commit ad1e826

Browse files
committed
Fix lints
1 parent 4ef2858 commit ad1e826

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qlty-check/src/executor/invocation_result.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,13 @@ impl InvocationResult {
282282

283283
for workspace_entry in self.invocation.target_paths.iter() {
284284
let prefixed_path = if let Some(prefix) = &self.plan.plugin.prefix {
285-
PathBuf::from(prefix).join(&workspace_entry)
285+
PathBuf::from(prefix).join(workspace_entry)
286286
} else {
287287
PathBuf::from(&workspace_entry)
288288
};
289289

290290
let workspace_path = self.plan.workspace.root.join(&prefixed_path);
291-
let staged_path = self.plan.target_root.join(&workspace_entry);
291+
let staged_path = self.plan.target_root.join(workspace_entry);
292292

293293
info!("workspace_path file {:?}", &workspace_path);
294294
info!("staged_path file {:?}", &staged_path);

0 commit comments

Comments
 (0)