From ac26e77d05acc8959716997bbc9b4c7b78731141 Mon Sep 17 00:00:00 2001 From: rasul Date: Sun, 5 Apr 2020 18:40:07 -0500 Subject: [PATCH] short description of database module and struct --- src/database/db.rs | 1 + src/database/mod.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/database/db.rs b/src/database/db.rs index 7bc6fe9..4fd4525 100644 --- a/src/database/db.rs +++ b/src/database/db.rs @@ -8,6 +8,7 @@ use crate::player::Player; use crate::result::RudeResult; use crate::try_log; +/// Wrapper around the database connection pub struct Db(pub Connection); impl Db { diff --git a/src/database/mod.rs b/src/database/mod.rs index 4ea56a5..d497843 100644 --- a/src/database/mod.rs +++ b/src/database/mod.rs @@ -1,3 +1,5 @@ +//! Wrapper around database connection + mod connected_players; mod db; mod players;