Some typos

This commit is contained in:
Dandaedre 2025-01-17 23:58:02 +01:00
parent af2f1ef2ea
commit fca5e8ef7a
3 changed files with 7 additions and 7 deletions

View File

@ -2,12 +2,12 @@
//!
//! This module provides a centralized configuration system for IdleFox, allowing you to load and manage your settings in an efficient and flexible manner.
//!
//! The primary goal of this module is to provide a robust and reliable way to store and retrieve configuration data from the `.idlefox.toml` file.
//! The primary goal of this module is to provide a robust and reliable way to store and retrieve configuration data from the `config.json` file.
//! If the file does not exist or cannot be loaded, it will automatically create a default version for you.
//!
//! ### Key Features
//!
//! * **Config Loading**: Seamlessly load your existing config from the `.idlefox.toml` file, ensuring that all settings are preserved and up-to-date.
//! * **Config Loading**: Seamlessly load your existing config from the `config.json` file, ensuring that all settings are preserved and up-to-date.
//! * **Default Config Creation**: Automatically generate a default configuration if the specified file cannot be loaded or is missing.
//! * **Legacy Data Import**: Safely import old data from outdated configurations to minimize disruptions during upgrades.
//! * **Faulty Data Recovery**: Implement measures to recover from importing faulty data, ensuring that your IdleFox instance remains stable and functional.

View File

@ -17,7 +17,7 @@
//! left after processing the input, they can be retrieved using the `unparsed` method on the returned `Result`.
//! The function uses the context provided to resolve any relative dates within the input string.
//!
//! - [`parse_single_date`]: This function parses a given input string representing a single date and returns a `NaiveDate`.
//! - [parse_single_date]: This function parses a given input string representing a single date and returns a `NaiveDate`.
//! If there are any unparsed parts left after processing the input, they can be retrieved using the `unparsed` method on the returned `Result`.
//! The function uses the context provided to resolve any relative dates within the input string.
//!

View File

@ -10,19 +10,19 @@
#![warn(clippy::missing_docs_in_private_items)]
pub mod config; // Maybe in lib
pub mod date; // Definitely in lib
pub mod date; // Definitely in lib
mod error_handling; // Likely in lib
pub mod ids; // Definitely in lib
pub mod ids; // Definitely in lib
pub mod io; // Maybe in lib
mod modules; // Maybe in lib
mod persistence; // Likely in lib
mod server; // Maybe in lib
pub mod votes; // Likely in lib
pub mod votes; // Likely in lib
mod watchdog; // Definitely in lib
// // Re export
// pub use votes::add_future_event;
// pub use votes::launch_future_event;
//
pub use error_handling::IdleError;
pub use watchdog::main_scheduler_loop;