Add #[allow(unused_imports)]
to generated code
This commit is contained in:
parent
0311bab45b
commit
7fde2aafb1
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ impl<'cx> Renderer<'cx> {
|
||||||
quote_expr!(cx, {
|
quote_expr!(cx, {
|
||||||
let mut $result = Ok(());
|
let mut $result = Ok(());
|
||||||
$loop_label: loop {
|
$loop_label: loop {
|
||||||
|
#[allow(unused_imports)]
|
||||||
use ::std::fmt::Write;
|
use ::std::fmt::Write;
|
||||||
match &mut $writer_expr {
|
match &mut $writer_expr {
|
||||||
$writer => {
|
$writer => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue