Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
NotGyro committed Mar 27, 2023
1 parent d818079 commit cf0b095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/service/src/api/client_api_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ impl ConsensusClientApi for ClientApiService {
{
let session = ClientSession::from(msg.channel_id.clone());
let mut tracker = self.tracked_sessions.lock().expect("Mutex poisoned");
// Calling get() on the LRU bumps the entry to show up as more
// Calling get() on the LRU bumps the entry to show up as more
// recently-used.
if tracker.get(&session).is_none() {
if tracker.get(&session).is_none() {
tracker.put(session, ClientSessionTracking::new());
}
}
Expand Down

0 comments on commit cf0b095

Please sign in to comment.