+5
-3
lines changedFilter options
+5
-3
lines changed Original file line number Diff line number Diff line change
@@ -90,9 +90,11 @@ where
90
90
progress: impl Progress,
91
91
options: Options,
92
92
) -> Result<(fetch::RefMap, gix_protocol::handshake::Outcome), Error> {
93
-
let refmap = self.ref_map_by_ref(progress, options).await;
94
-
let handshake = self.handshake.expect("refmap always performs handshake");
95
-
refmap.map(|map| (map, handshake))
93
+
let refmap = self.ref_map_by_ref(progress, options).await?;
94
+
let handshake = self
95
+
.handshake
96
+
.expect("refmap always performs handshake and stores it if it succeeds");
97
+
Ok((refmap, handshake))
96
98
}
97
99
98
100
#[allow(clippy::result_large_err)]
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4