aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-24 11:52:45 +0000
committerFuwn <[email protected]>2021-03-24 11:52:45 +0000
commit37b06c1f67a458e3075233b6e9a41f5529ba25c3 (patch)
tree72c4b11a96c0ca43c441be4b593cdb5717fe3d5b /src
parentformat: Move server type specific functions to correct modules (diff)
downloadwhirl-37b06c1f67a458e3075233b6e9a41f5529ba25c3.tar.xz
whirl-37b06c1f67a458e3075233b6e9a41f5529ba25c3.zip
format: Update annotation
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 195303b..92a35d0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,8 +6,8 @@ use std::thread;
use whirl::server;
fn main() {
- dotenv::dotenv().ok(); // Adds ability to use environment variables.
- pretty_env_logger::init(); // Adds pretty logging.
+ dotenv::dotenv().ok(); // Adds ability to use environment variables
+ pretty_env_logger::init(); // Adds pretty logging
let mut threads = vec![];
threads.push(thread::spawn(move || {
@@ -27,6 +27,6 @@ fn main() {
);
}));
for thread in threads {
- let _ = thread.join(); // Dissolving Result.
+ let _ = thread.join(); // Handle Result by dissolving it.
}
}