0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 05:58:21 -05:00

feat: fix doc tests

This commit is contained in:
neon_arch 2023-08-03 01:03:56 +03:00
parent 4b4dc28cd2
commit e02fafd69c

View File

@ -34,7 +34,7 @@ use handler::public_paths::public_path;
/// use std::net::TcpListener;
/// use websurfx::{config::parser::Config, run};
///
/// let config = Config::parse().unwrap();
/// let config = Config::parse(true).unwrap();
/// let listener = TcpListener::bind("127.0.0.1:8080").expect("Failed to bind address");
/// let server = run(listener,config).expect("Failed to start server");
/// ```