Skip to content

Commit

Permalink
Minor cosmetic changes
Browse files Browse the repository at this point in the history
github auto-merge has a harsh version of clippy
  • Loading branch information
Alexx Roche committed Aug 26, 2024
1 parent 29cfd12 commit 856a560
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ lto = true # Enable Link Time Optimization
codegen-units = 1 # Optimize for single codegen unit (better performance)
panic = 'abort' # Abort on panic (smaller binary size)

[lints.clippy]
unwrap_used = "deny"
12 changes: 8 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
//! This file exposes all the modules that are needed by the client, server and commander
|------------------------------------------------------------------------------|

Check failure on line 1 in src/lib.rs

View workflow job for this annotation

GitHub Actions / Formatting

expected item, found `|`
//! Exposes the modules that are needed by the client, server and commander
/// persists the blocked list of deadlines
pub mod blocklist;
/// provides functionality to sending data to the server and for generating PEM files
/// provides functionality of sending data to
/// the server and for generating PEM files
pub mod client;
/// responsible for executing the commands that are defined in the config file
pub mod commander;
Expand All @@ -11,7 +13,9 @@ mod commander_data;
pub mod common;
/// data structures for using CLI arguments for the client binary
pub mod config_client;
/// data structures for loading configuration files and using CLI arguments for server services
/// data structures for loading configuration files and
/// using CLI arguments for server services
pub mod config_server;
/// responsible for receiving data from the client and sending that data to the commander
/// responsible for receiving data from the client and
/// sending that data to the commander
pub mod server;

0 comments on commit 856a560

Please sign in to comment.