From a7ef031090a633e1c51df14e177af81c59ff249c Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 27 Mar 2020 23:31:24 +0100 Subject: [PATCH] Final doc before I go to sleep --- src/settings/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/settings/mod.rs b/src/settings/mod.rs index 926156d..a87f883 100644 --- a/src/settings/mod.rs +++ b/src/settings/mod.rs @@ -10,7 +10,10 @@ use log::{info, warn}; pub mod utils; use utils::SettingsType; -const RULESET_CURRENT_VERSION: i32 = 1; +/// Current version of the ruleset. It will help determine if the ruleset is +/// outdated or from a more recent version of the software than the one being in +/// use. +pub const RULESET_CURRENT_VERSION: i32 = 1; #[derive(Debug, Deserialize, Serialize)] pub struct Settings {