Skip to content

Commit 042b528

Browse files
committed
fix lint
1 parent a597e19 commit 042b528

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/async_graphql_hyper.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ impl GraphQLArcResponse {
397397
.collect::<Vec<u8>>();
398398

399399
// Wrap the result in square brackets
400-
[&[b'['], &combined[..], &[b']']].concat()
400+
[b"[", &combined[..], b"]"].concat()
401401
}
402402
JITBatchResponse::Single(resp) => resp.body.as_ref().to_owned(),
403403
};

src/core/jit/fixtures/jp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl<'a, Value: Deserialize<'a> + Clone + 'a + JsonLike<'a> + std::fmt::Debug> J
115115
JP { test_data, plan, vars }
116116
}
117117

118-
pub fn synth(&'a self) -> Synth<Value> {
118+
pub fn synth(&'a self) -> Synth<'a, Value> {
119119
let ProcessedTestData { posts, users } = self.test_data.to_processed();
120120
let vars = self.vars.clone();
121121

0 commit comments

Comments
 (0)