Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
Delete unused Operation::stamp method
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Scandurra committed Jan 29, 2019
1 parent c948dee commit 9519841
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions memo_core/src/work_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,18 +786,6 @@ impl OperationEnvelope {
}

impl Operation {
fn stamp<T>(epoch_id: epoch::Id, operations: T) -> impl Iterator<Item = Operation>
where
T: IntoIterator<Item = epoch::Operation>,
{
operations
.into_iter()
.map(move |operation| Operation::EpochOperation {
epoch_id,
operation,
})
}

pub fn epoch_id(&self) -> epoch::Id {
match self {
Operation::StartEpoch { epoch_id, .. } => *epoch_id,
Expand Down

0 comments on commit 9519841

Please sign in to comment.