Skip to content

Commit 3288f90

Browse files
committed
cargo fmt
1 parent ba3bdc7 commit 3288f90

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

libcc2rs/src/rc.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,9 +1236,10 @@ impl RangeAllocator {
12361236

12371237
fn base_for(&mut self, real_addr: RealAddr, byte_len: ByteLen) -> SyntheticAddr {
12381238
if let Some(&(base, capacity)) = self.bases.get(&real_addr)
1239-
&& byte_len <= capacity {
1240-
return base;
1241-
}
1239+
&& byte_len <= capacity
1240+
{
1241+
return base;
1242+
}
12421243
let base = self.cursor;
12431244
self.cursor = base + byte_len + 1;
12441245
self.bases.insert(real_addr, (base, byte_len));

0 commit comments

Comments
 (0)