From df36256f3e3e9b0b406eb09a78796185e3895965 Mon Sep 17 00:00:00 2001 From: fzyzcjy Date: Mon, 8 Apr 2024 13:13:11 +0800 Subject: [PATCH] chore: lint --- frb_example/pure_dart/rust/src/api/custom_handler.rs | 1 + frb_example/pure_dart_pde/rust/src/api/custom_handler.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/frb_example/pure_dart/rust/src/api/custom_handler.rs b/frb_example/pure_dart/rust/src/api/custom_handler.rs index 15bd6edc8e..15c73abbe4 100644 --- a/frb_example/pure_dart/rust/src/api/custom_handler.rs +++ b/frb_example/pure_dart/rust/src/api/custom_handler.rs @@ -1,5 +1,6 @@ // FRB_INTERNAL_GENERATOR: {"forbiddenDuplicatorModes": ["sync", "rustAsync", "sse", "sync sse", "rustAsync sse"]} +#[allow(unused_imports)] use crate::frb_generated::FLUTTER_RUST_BRIDGE_CODEGEN_VERSION; // This file demonstrates how to use a custom handler. diff --git a/frb_example/pure_dart_pde/rust/src/api/custom_handler.rs b/frb_example/pure_dart_pde/rust/src/api/custom_handler.rs index 153e8bb52b..35b7dec5ab 100644 --- a/frb_example/pure_dart_pde/rust/src/api/custom_handler.rs +++ b/frb_example/pure_dart_pde/rust/src/api/custom_handler.rs @@ -2,6 +2,7 @@ // FRB_INTERNAL_GENERATOR: {"forbiddenDuplicatorModes": ["sync", "rustAsync", "sse", "sync sse", "rustAsync sse"]} +#[allow(unused_imports)] use crate::frb_generated::FLUTTER_RUST_BRIDGE_CODEGEN_VERSION; // This file demonstrates how to use a custom handler.