Update src/config/parser.rs

This commit is contained in:
alamin655 2023-09-11 11:54:21 +05:30 committed by GitHub
parent 70a5a2463b
commit 531611f077
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ impl Config {
parsed_threads
};
let rate_limter = globals.get::<_,HashMap<String, u8>>("rate_limiter")?;
let rate_limiter = globals.get::<_,HashMap<String, u8>>("rate_limiter")?;
Ok(Config {
port: globals.get::<_, u16>("port")?,