From 560c6f3d53174019e1c11c3a41e0788d9a810cfd Mon Sep 17 00:00:00 2001 From: fufesou Date: Wed, 19 Apr 2023 17:43:38 +0800 Subject: [PATCH] trivial changes Signed-off-by: fufesou --- src/flutter_ffi.rs | 1 + src/plugin/errno.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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;