Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
akostylev0 committed Oct 29, 2024
1 parent f84deca commit 4c7aa52
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tonlibjson-client/src/cursor_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,7 @@ impl FirstBlockDiscover {
continue;
};

match self.next(start).await {
Ok(Some(mfb)) => { self.current.replace(mfb); }
Err(_) | Ok(None) => {}
}
if let Ok(Some(mfb)) = self.next(start).await { self.current.replace(mfb); }
}
}

Expand Down

0 comments on commit 4c7aa52

Please sign in to comment.