Skip to content

Commit 7062a3b

Browse files
authored
Merge branch 'master' into scan-range-fix
2 parents f0370d3 + f4a1ccf commit 7062a3b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/rpc/client.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -526,13 +526,6 @@ impl KeyLocation {
526526
KeyLocation(region)
527527
}
528528

529-
fn contains(&self, key: &Key) -> bool {
530-
let start = self.start_key();
531-
let end = self.end_key();
532-
let key: &[u8] = key.as_ref();
533-
start <= key && (end < key || end.is_empty())
534-
}
535-
536529
fn into_inner(self) -> Region {
537530
self.0
538531
}

0 commit comments

Comments
 (0)