forked from trinitrix/core
1
0
Fork 0

Style(treewide): Reorder imports and modules

This commit is contained in:
Benedikt Peetz 2023-07-19 06:28:48 +02:00
parent 734328787e
commit fbd1672d03
Signed by: bpeetz
GPG Key ID: A5E94010C3A642AD
3 changed files with 11 additions and 5 deletions

View File

@ -1,7 +1,6 @@
// FIXME: This file needs documentation with examples of how the proc macros work. // FIXME: This file needs documentation with examples of how the proc macros work.
// for now use `cargo expand app::command_interface` for an overview // for now use `cargo expand app::command_interface` for an overview
use lua_macros::{ci_command, turn_struct_to_ci_commands}; use lua_macros::{ci_command, turn_struct_to_ci_commands};
use rlua::Context;
use super::events::event_types::Event; use super::events::event_types::Event;

View File

@ -1,4 +1,11 @@
pub mod command; // input events
pub mod main;
pub mod matrix;
pub mod setup; pub mod setup;
pub mod main;
// matrix
pub mod matrix;
// ci
pub mod ci_output;
pub mod command;
pub mod lua_command;

View File

@ -1,5 +1,5 @@
use anyhow::{Error, Result}; use anyhow::{Error, Result};
use cli_log::{warn, info}; use cli_log::warn;
use indexmap::IndexMap; use indexmap::IndexMap;
use matrix_sdk::{ use matrix_sdk::{
room::MessagesOptions, room::MessagesOptions,