Skip to content

Commit 6cce717

Browse files
committed
style: fix clippy
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent a64c9d6 commit 6cce717

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

crates/monitor/src/client/subgraph_client.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ mod test {
334334
mock_server_local
335335
.register(
336336
Mock::given(method("POST"))
337-
.and(path(&format!("/subgraphs/id/{}", deployment)))
337+
.and(path(format!("/subgraphs/id/{}", deployment)))
338338
.respond_with(ResponseTemplate::new(200).set_body_json(json!({
339339
"data": {
340340
"user": {
@@ -349,7 +349,7 @@ mod test {
349349
mock_server_remote
350350
.register(
351351
Mock::given(method("POST"))
352-
.and(path(&format!("/subgraphs/id/{}", deployment)))
352+
.and(path(format!("/subgraphs/id/{}", deployment)))
353353
.respond_with(ResponseTemplate::new(200).set_body_json(json!({
354354
"data": {
355355
"user": {
@@ -415,7 +415,7 @@ mod test {
415415
mock_server_local
416416
.register(
417417
Mock::given(method("POST"))
418-
.and(path(&format!("/subgraphs/id/{}", deployment)))
418+
.and(path(format!("/subgraphs/id/{}", deployment)))
419419
.respond_with(ResponseTemplate::new(200).set_body_json(json!({
420420
"data": {
421421
"user": {
@@ -430,7 +430,7 @@ mod test {
430430
mock_server_remote
431431
.register(
432432
Mock::given(method("POST"))
433-
.and(path(&format!("/subgraphs/id/{}", deployment)))
433+
.and(path(format!("/subgraphs/id/{}", deployment)))
434434
.respond_with(ResponseTemplate::new(200).set_body_json(json!({
435435
"data": {
436436
"user": {
@@ -496,7 +496,7 @@ mod test {
496496
mock_server_local
497497
.register(
498498
Mock::given(method("POST"))
499-
.and(path(&format!("/subgraphs/id/{}", deployment)))
499+
.and(path(format!("/subgraphs/id/{}", deployment)))
500500
.respond_with(ResponseTemplate::new(200).set_body_json(json!({
501501
"data": {
502502
"user": {
@@ -511,7 +511,7 @@ mod test {
511511
mock_server_remote
512512
.register(
513513
Mock::given(method("POST"))
514-
.and(path(&format!("/subgraphs/id/{}", deployment)))
514+
.and(path(format!("/subgraphs/id/{}", deployment)))
515515
.respond_with(ResponseTemplate::new(200).set_body_json(json!({
516516
"data": {
517517
"user": {

0 commit comments

Comments
 (0)