diff options
| author | Fuwn <[email protected]> | 2021-03-24 11:52:45 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-03-24 11:52:45 -0700 |
| commit | 6b86da822e984a45725f2fa72625b6a05b3c0334 (patch) | |
| tree | 0f15e3e0322022c331c22e394af511957619d807 | |
| parent | format: Move server type specific functions to correct modules (diff) | |
| download | whirl-6b86da822e984a45725f2fa72625b6a05b3c0334.tar.xz whirl-6b86da822e984a45725f2fa72625b6a05b3c0334.zip | |
format: Update annotation
| -rw-r--r-- | src/main.rs | 6 |
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. } } |