Skip to content

Commit 0ed64f1

Browse files
committed
Fix clippy warning
1 parent 8b6c275 commit 0ed64f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/asimov-registry/src/registry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ impl Registry {
321321
.await?
322322
.ok_or(EnableError::NotInstalled)?;
323323

324-
let target_path = if target_path.starts_with(&self.install_dir()) {
324+
let target_path = if target_path.starts_with(self.install_dir()) {
325325
// manifest is in installed directory: ../installed/manifest.json
326326
std::path::PathBuf::from("..")
327327
.join("installed")

0 commit comments

Comments
 (0)