chore: lint

This commit is contained in:
jon r 2023-03-28 19:04:24 +02:00
parent 8d53c2f0a2
commit 38c4a8593a

View file

@ -11,13 +11,13 @@ fn main() {
.nth(2) .nth(2)
.unwrap_or_else(|| "10".to_string()) .unwrap_or_else(|| "10".to_string())
.parse::<usize>() .parse::<usize>()
.unwrap();; .unwrap();
let thread_count = env::args() let thread_count = env::args()
.nth(3) .nth(3)
.unwrap_or_else(|| "4".to_string()) .unwrap_or_else(|| "4".to_string())
.parse::<u64>() .parse::<u64>()
.unwrap();; .unwrap();
server::start_server(&listen_at, queue_size, thread_count); server::start_server(&listen_at, queue_size, thread_count);
} }