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,
|
&mut self,
|
||||||
keys: impl IntoIterator<Item = impl Into<Key>>,
|
keys: impl IntoIterator<Item = impl Into<Key>>,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
self.check_status()?;
|
|
||||||
let mut keys: Vec<Vec<u8>> = keys
|
let mut keys: Vec<Vec<u8>> = keys
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|it| it.into())
|
.map(|it| it.into())
|
||||||
|
|
Loading…
Reference in New Issue