Make clippy happy

This commit is contained in:
Rerumu 2022-01-05 19:59:32 -05:00
parent d5b327cf64
commit b3a68742a9
2 changed files with 3 additions and 0 deletions

View File

@ -390,6 +390,7 @@ impl<'a> Builder<'a> {
} }
} }
#[allow(clippy::too_many_lines)]
fn new_stored_body(&mut self, list: &mut &[Instruction]) -> Vec<Statement> { fn new_stored_body(&mut self, list: &mut &[Instruction]) -> Vec<Statement> {
use Instruction as Inst; use Instruction as Inst;

View File

@ -9,6 +9,8 @@ pub trait Transpiler<'a> {
where where
Self: Sized; Self: Sized;
/// # Errors
/// Returns `Err` if writing to `Writer` failed.
fn runtime(writer: Writer) -> Result<()>; fn runtime(writer: Writer) -> Result<()>;
/// # Errors /// # Errors