diff options
author | Colvin Wellborn <39858617+colvin@users.noreply.github.com> | 2020-03-19 21:24:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 21:24:31 -0400 |
commit | 717271a5967a038e0b53fe95c517592d156b8931 (patch) | |
tree | 6eb39c312f3122d1fb281bfb074e1016fa6e0a47 /src/builder.rs | |
parent | f8b1e09699eb96bf1af72ba48b607267c8a39bdc (diff) |
appease clippy (#225)
Diffstat (limited to 'src/builder.rs')
-rw-r--r-- | src/builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/builder.rs b/src/builder.rs index 8e69438..0eecfa1 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -937,14 +937,14 @@ impl ExecContainerOptions { for (k, v) in &self.params { body.insert( - k.to_string(), + (*k).to_owned(), serde_json::to_value(v).map_err(Error::SerdeJsonError)?, ); } for (k, v) in &self.params_bool { body.insert( - k.to_string(), + (*k).to_owned(), serde_json::to_value(v).map_err(Error::SerdeJsonError)?, ); } |