Skip to content

Commit

Permalink
Update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelvalle authored and gillchristian committed Apr 19, 2024
1 parent f721fe4 commit 4c58832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl CommandParser {
}
}

fn next_integer(&mut self) -> Result<i64, CommandParserError> {
fn _next_integer(&mut self) -> Result<i64, CommandParserError> {
let frame = self
.parts
.next()
Expand Down
3 changes: 1 addition & 2 deletions src/commands/scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ pub struct Scan {

impl Executable for Scan {
fn exec(self, store: Arc<Mutex<Store>>) -> Result<Frame, Error> {
let mut store = store.lock().unwrap();
// let iter = store.iter();
let store = store.lock().unwrap();

let next_cursor = Frame::Bulk(Bytes::from("0"));
let keys: Vec<Frame> = store
Expand Down

0 comments on commit 4c58832

Please sign in to comment.