Rename types module to room

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-09-10 18:37:15 +02:00
parent 0282a8905c
commit 35e323f448
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@
use crate::component::ComponentTrait;
use crate::error::Error;
use crate::types::{Nick, Room};
use crate::room::{Nick, Room};
use std::collections::HashMap;
use std::ops::ControlFlow;

View file

@ -18,7 +18,7 @@
mod component;
mod error;
mod handlers;
mod types;
mod room;
#[cfg(test)]
mod tests;
@ -26,7 +26,7 @@ mod tests;
use crate::component::Component;
use crate::error::Error;
use crate::handlers::handle_stanza;
use crate::types::Room;
use crate::room::Room;
use std::collections::HashMap;
use std::env::args;

View file

@ -15,7 +15,7 @@
use crate::component::TestComponent;
use crate::handlers::handle_stanza;
use crate::types::Room;
use crate::room::Room;
use std::collections::{BTreeMap, HashMap};
use std::str::FromStr;