We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3ee6af commit 9a143b3Copy full SHA for 9a143b3
src/server.rs
@@ -335,8 +335,8 @@ impl<State: Send + Sync + 'static> Server<State> {
335
{
336
let req = Request::new(self.state.clone(), req.into(), Vec::new());
337
match self.call(req).await {
338
- Ok(value) => {
339
- let res: http_types::Response = value.into();
+ Ok(res) => {
+ let res: http_types::Response = res.into();
340
// We assume that if an error was manually cast to a
341
// Response that we actually want to send the body to the
342
// client. At this point we don't scrub the message.
0 commit comments