mirror of https://github.com/tikv/client-rust.git
Remove unused getter
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
parent
3e44759e39
commit
4dba98b9d3
|
@ -86,10 +86,6 @@ impl Region {
|
||||||
.map(Into::into)
|
.map(Into::into)
|
||||||
.ok_or_else(|| Error::stale_epoch(None))
|
.ok_or_else(|| Error::stale_epoch(None))
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn meta(&self) -> metapb::Region {
|
|
||||||
self.region.clone()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Eq, PartialEq, Debug)]
|
#[derive(Eq, PartialEq, Debug)]
|
||||||
|
|
Loading…
Reference in New Issue