refactor: remove redundant pub
This commit is contained in:
parent
e3d3e7fe5d
commit
170c1194ef
@ -46,7 +46,7 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
type ListenerMap = Arc<RwLock<HashMap<String, Vec<(String, Function)>>>>;
|
||||
|
||||
#[derive(Default, Clone, Component)]
|
||||
pub struct State {
|
||||
struct State {
|
||||
lua: Arc<Lua>,
|
||||
event_listeners: ListenerMap,
|
||||
commands: Arc<CommandDispatcher<Mutex<CommandSource>>>,
|
||||
|
@ -17,7 +17,7 @@ use verification::{on_device_key_verification_request, on_room_message_verificat
|
||||
use crate::{State, lua::matrix::client::Client as LuaClient};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Context {
|
||||
struct Context {
|
||||
state: State,
|
||||
name: String,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user