Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
  • Loading branch information
MyonKeminta committed Oct 10, 2018
1 parent 2baaac4 commit cd66b77
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/raftstore/coprocessor/region_collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,19 +523,6 @@ mod tests {
assert_eq!(c.regions[&region.get_id()].1, role);
}

// fn print(c: &RegionCollectionWorker) {
// use storage::Key;
// eprintln!("regions:");
// for (k, v) in &c.regions {
// eprintln!(" {}: {:?}", k, v);
// }
// eprintln!("ranges:");
// for (k, v) in &c.region_ranges {
// eprintln!(" {}: {:?}", Key::from_encoded_slice(k), v)
// }
// eprintln!("");
// }

#[test]
fn test_basic_updating() {
let mut c = RegionCollectionWorker::new(0);
Expand Down

0 comments on commit cd66b77

Please sign in to comment.