neon_arch commited on
Commit
e02fafd
1 Parent(s): 4b4dc28

✨ feat: fix doc tests

Browse files
Files changed (1) hide show
  1. src/lib.rs +1 -1
src/lib.rs CHANGED
@@ -34,7 +34,7 @@ use handler::public_paths::public_path;
34
  /// use std::net::TcpListener;
35
  /// use websurfx::{config::parser::Config, run};
36
  ///
37
- /// let config = Config::parse().unwrap();
38
  /// let listener = TcpListener::bind("127.0.0.1:8080").expect("Failed to bind address");
39
  /// let server = run(listener,config).expect("Failed to start server");
40
  /// ```
 
34
  /// use std::net::TcpListener;
35
  /// use websurfx::{config::parser::Config, run};
36
  ///
37
+ /// let config = Config::parse(true).unwrap();
38
  /// let listener = TcpListener::bind("127.0.0.1:8080").expect("Failed to bind address");
39
  /// let server = run(listener,config).expect("Failed to start server");
40
  /// ```