From f89cb1960222acb3197c40f0658a617eba9ffe44 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 16 Nov 2019 05:51:42 +0000 Subject: [PATCH] Mark 'req' as used in browser service --- src/frontend/rest/services/browser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/rest/services/browser.rs b/src/frontend/rest/services/browser.rs index 9d8b261..f0440a7 100644 --- a/src/frontend/rest/services/browser.rs +++ b/src/frontend/rest/services/browser.rs @@ -10,8 +10,8 @@ use logging::LoggingErrors; use std::collections::HashMap; use url::form_urlencoded; -pub fn handle(_service: &WebService, _req: Request) -> InternalFuture { - Box::new(_req.body().concat2().map(move |body| { +pub fn handle(_service: &WebService, req: Request) -> InternalFuture { + Box::new(req.body().concat2().map(move |body| { let req = form_urlencoded::parse(body.as_ref()) .into_owned() .collect::>();