short description of database module and struct

master
rasul 5 years ago
parent 33fa2b5219
commit ac26e77d05

@ -8,6 +8,7 @@ use crate::player::Player;
use crate::result::RudeResult; use crate::result::RudeResult;
use crate::try_log; use crate::try_log;
/// Wrapper around the database connection
pub struct Db(pub Connection); pub struct Db(pub Connection);
impl Db { impl Db {

@ -1,3 +1,5 @@
//! Wrapper around database connection
mod connected_players; mod connected_players;
mod db; mod db;
mod players; mod players;

Loading…
Cancel
Save