mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-10-23 17:52:27 +00:00
Run cargo fmt
This commit is contained in:
1 parent
e237f76ca7
commit
4dba6f92cd
1 file changed
+3
-5
@@ -743,11 +743,9 @@ impl RawBufRing {
|
||||
// Future: move to separate public function so other buf_ring implementations
|
||||
// can register, and unregister, the same way.
|
||||
|
||||
let res = CurrentRing::with(|ring| {
|
||||
unsafe {
|
||||
ring.submitter()
|
||||
.register_buf_ring(self.ring_addr as _, self.ring_entries(), bgid)
|
||||
}
|
||||
let res = CurrentRing::with(|ring| unsafe {
|
||||
ring.submitter()
|
||||
.register_buf_ring(self.ring_addr as _, self.ring_entries(), bgid)
|
||||
});
|
||||
// println!("{}:{}: res {:?}", file!(), line!(), res);
|
||||
|
||||
|
||||
Reference in new issue
Block a user