Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Format with rustfmt 1.4.37
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay authored and jyn514 committed Nov 3, 2021
1 parent 8f792aa commit db14f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/kv/bulk/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn run(
let keys_vec: Result<Vec<KeyValuePair>, serde_json::Error> =
serde_json::from_str(&data);
match keys_vec {
Ok(keys_vec) => keys_vec.iter().map(|kv| { kv.key.to_owned() }).collect(),
Ok(keys_vec) => keys_vec.iter().map(|kv| kv.key.to_owned()).collect(),
Err(_) => {
// Hide '{' in this error message from the formatting machinery in bail macro
let msg = "Failed to decode JSON. Please make sure to follow the format, [{\"key\": \"test_key\", \"value\": \"test_value\"}, ...]";
Expand Down

0 comments on commit db14f23

Please sign in to comment.