neon_arch commited on
Commit
fceacdb
1 Parent(s): 3db6c10

🧹 chore: make cargo format happy (#180)(#178)

Browse files
Files changed (1) hide show
  1. src/bin/websurfx.rs +2 -2
src/bin/websurfx.rs CHANGED
@@ -6,7 +6,7 @@
6
  use std::net::TcpListener;
7
  use websurfx::{config::parser::Config, run};
8
 
9
- /// A dhat heap memory profiler
10
  #[cfg(feature = "dhat-heap")]
11
  #[global_allocator]
12
  static ALLOC: dhat::Alloc = dhat::Alloc;
@@ -22,7 +22,7 @@ async fn main() -> std::io::Result<()> {
22
  // A dhat heap profiler initialization.
23
  #[cfg(feature = "dhat-heap")]
24
  let _profiler = dhat::Profiler::new_heap();
25
-
26
  // Initialize the parsed config file.
27
  let config = Config::parse(false).unwrap();
28
 
 
6
  use std::net::TcpListener;
7
  use websurfx::{config::parser::Config, run};
8
 
9
+ /// A dhat heap memory profiler
10
  #[cfg(feature = "dhat-heap")]
11
  #[global_allocator]
12
  static ALLOC: dhat::Alloc = dhat::Alloc;
 
22
  // A dhat heap profiler initialization.
23
  #[cfg(feature = "dhat-heap")]
24
  let _profiler = dhat::Profiler::new_heap();
25
+
26
  // Initialize the parsed config file.
27
  let config = Config::parse(false).unwrap();
28