Skip to content

Commit 53bf958

Browse files
committed
Fix format
Signed-off-by: Ilya Chelyadin <[email protected]>
1 parent b0546fd commit 53bf958

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

crates/muvm/src/guest/bridge/common.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,9 +661,11 @@ impl<'a, P: ProtocolHandler> Client<'a, P> {
661661
}
662662
}
663663

664-
if ptr > buf.len() { // Track logical over-consumption
664+
if ptr > buf.len() {
665+
// Track logical over-consumption
665666
self.request_tail = ptr - buf.len();
666-
} else if ptr<buf.len() { // Preserve leftovers
667+
} else if ptr < buf.len() {
668+
// Preserve leftovers
667669
self.request_head = buf[ptr..].to_vec();
668670
}
669671

0 commit comments

Comments
 (0)