Skip to content

Commit

Permalink
Fix lint (just two lines)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlansneff committed Apr 17, 2019
1 parent e71da1c commit 61f31ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/singlepass-backend/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub trait ModuleCodeGenerator<FCG: FunctionCodeGenerator, PC: ProtectedCaller, F

/// Creates a new function and returns the function-scope code generator for it.
fn next_function(&mut self) -> Result<&mut FCG, CodegenError>;

/// Finalizes code generation, returning runtime structures.
fn finalize(self, module_info: &ModuleInfo) -> Result<(PC, FR), CodegenError>;

Expand Down
2 changes: 1 addition & 1 deletion lib/singlepass-backend/src/codegen_x64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ impl X64FunctionCode {
}

/// Emits a System V call sequence.
///
///
/// This function must not use RAX before `cb` is called.
fn emit_call_sysv<I: Iterator<Item = Location>, F: FnOnce(&mut Assembler)>(
a: &mut Assembler,
Expand Down

0 comments on commit 61f31ae

Please sign in to comment.