diff --git a/src/flutter_ffi.rs b/src/flutter_ffi.rs index 9da6d1552..2b522d470 100644 --- a/src/flutter_ffi.rs +++ b/src/flutter_ffi.rs @@ -10,6 +10,7 @@ use crate::{ }; use flutter_rust_bridge::{StreamSink, SyncReturn}; use hbb_common::{ + allow_err, config::{self, LocalConfig, PeerConfig, PeerInfoSerde, ONLINE}, fs, log, message_proto::KeyboardMode, diff --git a/src/plugin/errno.rs b/src/plugin/errno.rs index d48e97c49..db580c0bd 100644 --- a/src/plugin/errno.rs +++ b/src/plugin/errno.rs @@ -19,7 +19,7 @@ pub const ERR_CALL_INVALID_ARGS: i32 = 10301; pub const ERR_PEER_ID_MISMATCH: i32 = 10302; // ====================================================== -// errors that must be handled by plugin +// errors that should be handled by the plugin pub const ERR_PLUGIN_HANDLE_BASE: i32 = 20000;