Skip to content

Commit 3485a06

Browse files
Format Rust code using rustfmt
1 parent 4b0a5a9 commit 3485a06

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/kv.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,7 @@ impl Kv<Vec<u8>, Vec<u8>> {
389389
};
390390
Ok(bytes)
391391
}
392-
KvResponse::Err {
393-
0: error
394-
} => Err(error.into()),
392+
KvResponse::Err { 0: error } => Err(error.into()),
395393
_ => Err(anyhow::anyhow!("kv: unexpected response {:?}", response)),
396394
}
397395
}

0 commit comments

Comments
 (0)