From 2cd4f0c872adba3b143573907b7aec61d0053e91 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 14 Feb 2022 09:30:18 -0500 Subject: [PATCH] dirmgr: Remove a useless Ok(x?) Found by nightly clippy. --- crates/tor-dirmgr/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tor-dirmgr/src/lib.rs b/crates/tor-dirmgr/src/lib.rs index 6399f94bf..4500894d8 100644 --- a/crates/tor-dirmgr/src/lib.rs +++ b/crates/tor-dirmgr/src/lib.rs @@ -215,7 +215,7 @@ impl DirMgr { circmgr: Arc>, ) -> Result> { let dirmgr = DirMgr::bootstrap_from_config(config, runtime, circmgr).await?; - Ok(dirmgr.netdir()?) + dirmgr.netdir() } /// Create a new `DirMgr` in online mode, but don't bootstrap it yet.