Skip to content

Commit

Permalink
Remove clone
Browse files Browse the repository at this point in the history
  • Loading branch information
ktdlr committed Oct 22, 2024
1 parent b53845d commit 6838955
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ciphernode/data/src/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub trait Checkpoint: Snapshot {
/// Declare the DataStore instance available on the object
fn repository(&self) -> Repository<Self::Snapshot>;

/// Write the current snapshot to the DataStore provided by `get_store()` at the object's id returned by `get_id()`
/// Write the current snapshot to the `Repository` provided by `repository()`
fn checkpoint(&self) {
self.repository().write(&self.snapshot());
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ciphernode/router/src/e3_request_router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl Handler<EnclaveEvent> for E3RequestRouter {
})
});

for feature in self.features.clone().iter() {
for feature in self.features.iter() {
feature.on_event(context, &msg);
}

Expand Down

0 comments on commit 6838955

Please sign in to comment.