Skip to content

Commit d03d5c2

Browse files
committed
clippy fixes
Signed-off-by: Dave Grantham <[email protected]>
1 parent c5a59bf commit d03d5c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ops/open/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ where
9797
let lock_path = config
9898
.entry_lock_script
9999
.ok_or::<Error>(OpenError::NoEntryLockScript.into())?;
100-
script::Loader::new(&lock_path).try_build()?
100+
script::Loader::new(lock_path).try_build()?
101101
};
102102

103103
// load the entry unlock script
104104
let unlock_script = {
105105
let unlock_path = config
106106
.entry_unlock_script
107107
.ok_or::<Error>(OpenError::NoEntryUnlockScript.into())?;
108-
script::Loader::new(&unlock_path).try_build()?
108+
script::Loader::new(unlock_path).try_build()?
109109
};
110110

111111
// 3. Construct the first entry, calling back to get the entry signed

src/ops/update/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ where
6969
let unlock_path = config
7070
.entry_unlock_script
7171
.ok_or::<Error>(UpdateError::NoEntryUnlockScript.into())?;
72-
script::Loader::new(&unlock_path).try_build()?
72+
script::Loader::new(unlock_path).try_build()?
7373
};
7474

7575
// get the entry signing key

0 commit comments

Comments
 (0)