Skip to content

Commit 9a143b3

Browse files
committed
impl feedback from review
1 parent c3ee6af commit 9a143b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ impl<State: Send + Sync + 'static> Server<State> {
335335
{
336336
let req = Request::new(self.state.clone(), req.into(), Vec::new());
337337
match self.call(req).await {
338-
Ok(value) => {
339-
let res: http_types::Response = value.into();
338+
Ok(res) => {
339+
let res: http_types::Response = res.into();
340340
// We assume that if an error was manually cast to a
341341
// Response that we actually want to send the body to the
342342
// client. At this point we don't scrub the message.

0 commit comments

Comments
 (0)