Skip to content

Commit

Permalink
More linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
john-sharratt authored and theduke committed Aug 15, 2024
1 parent ca19e46 commit 5d05cc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/journal/src/concrete/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ impl<W: WritableJournal> WritableJournal for TransactionJournalTx<W> {
let estimate_size = entry.estimate_size();
state.records.push(entry);
Ok(LogWriteResult {
record_start: state.offset as u64,
record_end: state.offset as u64 + estimate_size as u64,
record_start: state.offset,
record_end: state.offset + estimate_size as u64,
})
}

Expand Down

0 comments on commit 5d05cc7

Please sign in to comment.