Skip to content

Commit a77594c

Browse files
committed
clippy for the ic00 types
1 parent a395b52 commit a77594c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rs/types/ic00_types/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,10 @@ pub struct CanisterCodeDeploymentRecord {
237237

238238
impl CanisterCodeDeploymentRecord {
239239
pub fn mode(&self) -> CanisterInstallMode {
240-
self.mode.clone()
240+
self.mode
241241
}
242242
pub fn module_hash(&self) -> [u8; WASM_HASH_LENGTH] {
243-
self.module_hash.clone()
243+
self.module_hash
244244
}
245245
}
246246

0 commit comments

Comments
 (0)