From f91113d96f168ecc8b931d42b125963739393c2e Mon Sep 17 00:00:00 2001 From: int 80h Date: Sun, 14 Nov 2021 20:46:24 -0500 Subject: [PATCH] Removed mut from runtime --- Cargo.toml | 1 - src/main.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fb26747..b07e9ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,6 @@ readme = "README" homepage = "gemini://80h.dev" repository = "https://git.sr.ht/~int80h/gemserv" license = "MIT" -license-file = "LICENSE" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 1aa86e8..7147075 100644 --- a/src/main.rs +++ b/src/main.rs @@ -442,7 +442,7 @@ fn main() -> io::Result<()> { .next() .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() .enable_io() .enable_time()