Skip to content

Commit 31a3a1d

Browse files
committed
chore: underscore unused var
1 parent f955013 commit 31a3a1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/http/src/service.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ where
355355
| (Method::GET, &["subgraphs", "network", _, _, "graphql"])
356356
| (Method::GET, &["subgraphs", "graphql"]) => self.handle_graphiql(),
357357

358-
(Method::GET, path @ ["subgraphs", "name", _, _]) if is_mutation => {
358+
(Method::GET, _path @ ["subgraphs", "name", _, _]) if is_mutation => {
359359
self.handle_mutations()
360360
}
361361
(Method::GET, path @ ["subgraphs", "id", _])
@@ -462,7 +462,7 @@ where
462462

463463
#[cfg(test)]
464464
mod tests {
465-
use graph::data::value::Object;
465+
use graph::data::value::{Word, Object};
466466
use graph::prelude::serde_json::json;
467467
use http::header::{CONTENT_LENGTH, CONTENT_TYPE};
468468
use http::status::StatusCode;

0 commit comments

Comments
 (0)