Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
NotGyro committed Apr 5, 2023
1 parent c342f6c commit ecd5836
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 ecd5836

Please sign in to comment.