Skip to content

Commit

Permalink
Merge pull request #178 from ekexium/fix-example
Browse files Browse the repository at this point in the history
Fix a mistake in examples/raw
  • Loading branch information
nrc committed Oct 12, 2020
2 parents ad8ef07 + e07e973 commit 43248ac
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/raw.rs
Expand Up @@ -94,11 +94,7 @@ async fn main() -> Result<()> {
let keys: Vec<_> = pairs.into_iter().map(|p| p.key().clone()).collect();
assert_eq!(
&keys,
&[
Key::from("k1".to_owned()),
Key::from("k2".to_owned()),
Key::from("k3".to_owned())
]
&[Key::from("k1".to_owned()), Key::from("k2".to_owned()),]
);
println!("Scaning from {:?} to {:?} gives: {:?}", start, end, keys);

Expand Down

0 comments on commit 43248ac

Please sign in to comment.