Skip to content

Commit

Permalink
assemble_with_options_in_context needs to consume self
Browse files Browse the repository at this point in the history
  • Loading branch information
plafer committed Jun 11, 2024
1 parent f9c1d6e commit 8039cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assembly/src/assembler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ impl Assembler {
/// to configure the assembler.
#[instrument("assemble_with_opts_in_context", skip_all)]
pub fn assemble_with_options_in_context(
mut self,
self,
source: impl Compile,
options: CompileOptions,
context: &mut AssemblyContext,
Expand All @@ -371,7 +371,7 @@ impl Assembler {
/// The main purpose of this separation is to enable some tests to access the assembler state
/// after assembly.
fn assemble_with_options_in_context_impl(
&mut self,
mut self,
source: impl Compile,
options: CompileOptions,
context: &mut AssemblyContext,
Expand Down

0 comments on commit 8039cfb

Please sign in to comment.