Fix lint warnings (#1267)

This commit is contained in:
David Pedersen
2022-08-17 09:41:52 +00:00
committed by GitHub
parent f2243c4db0
commit 90dbd52ee4
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ where
E: Clone,
{
fn clone(&self) -> Self {
Self(self.0.clone(), self.1.clone())
Self(self.0.clone(), self.1)
}
}
+3 -3
View File
@@ -236,7 +236,7 @@ mod tests {
);
let input = Input {
foo: "bar".to_string(),
foo: "bar".to_owned(),
};
let client = TestClient::new(app);
@@ -264,7 +264,7 @@ mod tests {
let app = Router::new().route("/", post(|_: ProtoBuf<Expected>| async {}));
let input = Input {
foo: "bar".to_string(),
foo: "bar".to_owned(),
};
let client = TestClient::new(app);
@@ -299,7 +299,7 @@ mod tests {
);
let input = Input {
foo: "bar".to_string(),
foo: "bar".to_owned(),
};
let client = TestClient::new(app);