Fix lint (just two lines)

This commit is contained in:
Lachlan Sneff
2019-04-17 15:17:16 -07:00
parent e71da1cdf1
commit 61f31ae7e8
2 changed files with 2 additions and 2 deletions

View File

@ -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. /// Creates a new function and returns the function-scope code generator for it.
fn next_function(&mut self) -> Result<&mut FCG, CodegenError>; fn next_function(&mut self) -> Result<&mut FCG, CodegenError>;
/// Finalizes code generation, returning runtime structures. /// Finalizes code generation, returning runtime structures.
fn finalize(self, module_info: &ModuleInfo) -> Result<(PC, FR), CodegenError>; fn finalize(self, module_info: &ModuleInfo) -> Result<(PC, FR), CodegenError>;

View File

@ -1034,7 +1034,7 @@ impl X64FunctionCode {
} }
/// Emits a System V call sequence. /// Emits a System V call sequence.
/// ///
/// This function must not use RAX before `cb` is called. /// This function must not use RAX before `cb` is called.
fn emit_call_sysv<I: Iterator<Item = Location>, F: FnOnce(&mut Assembler)>( fn emit_call_sysv<I: Iterator<Item = Location>, F: FnOnce(&mut Assembler)>(
a: &mut Assembler, a: &mut Assembler,