Removed mut from runtime

This commit is contained in:
int 80h
2021-11-14 20:46:24 -05:00
parent fc1f2cbf33
commit f91113d96f
2 changed files with 1 additions and 2 deletions

View File

@@ -8,7 +8,6 @@ readme = "README"
homepage = "gemini://80h.dev" homepage = "gemini://80h.dev"
repository = "https://git.sr.ht/~int80h/gemserv" repository = "https://git.sr.ht/~int80h/gemserv"
license = "MIT" license = "MIT"
license-file = "LICENSE"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -442,7 +442,7 @@ fn main() -> io::Result<()> {
.next() .next()
.ok_or_else(|| io::Error::from(io::ErrorKind::AddrNotAvailable))?; .ok_or_else(|| io::Error::from(io::ErrorKind::AddrNotAvailable))?;
let mut runtime = runtime::Builder::new_multi_thread() let runtime = runtime::Builder::new_multi_thread()
// .threaded_scheduler() // .threaded_scheduler()
.enable_io() .enable_io()
.enable_time() .enable_time()