Removed mut from runtime
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user