Skip to content

Commit

Permalink
Merge pull request #1012 from matthiasgoergens/make-clippy-happy
Browse files Browse the repository at this point in the history
chore: make clippy happy
  • Loading branch information
bobbinth authored Jul 18, 2023
2 parents 3022d25 + c8817d8 commit 2c07cb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assembly/src/assembler/span_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl SpanBuilder {
///
/// This indicates that the provided instruction should be tracked and the cycle count for
/// this instruction will be computed when the call to set_instruction_cycle_count() is made.
pub fn track_instruction(&mut self, instruction: &Instruction, ctx: &mut AssemblyContext) {
pub fn track_instruction(&mut self, instruction: &Instruction, ctx: &AssemblyContext) {
let context_name = ctx.current_context_name().to_string();
let num_cycles = 0;
let op = instruction.to_string();
Expand Down
2 changes: 1 addition & 1 deletion assembly/src/library/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Module {

impl PartialOrd for Module {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.path.partial_cmp(&other.path)
Some(self.cmp(other))
}
}

Expand Down

0 comments on commit 2c07cb2

Please sign in to comment.