mirror of https://github.com/tikv/client-rust.git
remove one unnecessary check
Signed-off-by: ekexium <ekexium@gmail.com>
This commit is contained in:
parent
03014f19c9
commit
ff7c64f269
|
@ -365,7 +365,6 @@ impl Transaction {
|
|||
&mut self,
|
||||
keys: impl IntoIterator<Item = impl Into<Key>>,
|
||||
) -> Result<()> {
|
||||
self.check_status()?;
|
||||
let mut keys: Vec<Vec<u8>> = keys
|
||||
.into_iter()
|
||||
.map(|it| it.into())
|
||||
|
|
Loading…
Reference in New Issue