Skip to content

Commit

Permalink
fix clippy issues (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
Glauber Costa authored Apr 25, 2024
1 parent 2418fa3 commit 562adb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glommio/src/sys/uring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ impl UringCommon for PollRing {

fn submit_one_event(&mut self, queue: &mut VecDeque<UringDescriptor>) -> Option<bool> {
submit_event_chain(
&mut *self.source_map.borrow_mut(),
&mut self.source_map.borrow_mut(),
&mut self.ring,
self.allocator.clone(),
queue,
Expand Down Expand Up @@ -1206,7 +1206,7 @@ impl UringCommon for SleepableRing {

fn submit_one_event(&mut self, queue: &mut VecDeque<UringDescriptor>) -> Option<bool> {
submit_event_chain(
&mut *self.source_map.borrow_mut(),
&mut self.source_map.borrow_mut(),
&mut self.ring,
self.allocator.clone(),
queue,
Expand Down

0 comments on commit 562adb8

Please sign in to comment.