Skip to content

Commit

Permalink
fix: clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
polydez committed Jun 7, 2024
1 parent 0ef876f commit f5cf27a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 193 deletions.
221 changes: 30 additions & 191 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/block-producer/src/block_builder/prover/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::time::{SystemTime, UNIX_EPOCH};

use miden_objects::{assembly::Assembler, BlockHeader, Digest, Felt, FieldElement, Hasher, ZERO};
use miden_objects::{assembly::Assembler, BlockHeader, Digest, Hasher, ZERO};
use miden_processor::{execute, DefaultHost, ExecutionOptions, MemAdviceProvider, Program};
use miden_stdlib::StdLibrary;

Expand Down
2 changes: 1 addition & 1 deletion crates/store/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl State {
.map(|(note_index, note)| {
let details = match note {
OutputNote::Full(note) => Some(note.to_bytes()),
OutputNote::Header(_) | OutputNote::Partial(_) => None,
OutputNote::Header(_) => None,
note => return Err(ApplyBlockError::InvalidOutputNoteType(note.clone())),
};

Expand Down

0 comments on commit f5cf27a

Please sign in to comment.