Make clippy happy
This commit is contained in:
parent
d5b327cf64
commit
b3a68742a9
@ -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;
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user