mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove a stray space. Clean up awkware if result...result construct.
This commit is contained in:
parent
969a4e30fb
commit
0c6514eac8
2 changed files with 4 additions and 7 deletions
|
@ -43,7 +43,7 @@ endif
|
|||
|
||||
ifdef CFG_ENABLE_DEBUG
|
||||
$(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
|
||||
CFG_RUSTC_FLAGS +=
|
||||
CFG_RUSTC_FLAGS +=
|
||||
CFG_GCCISH_CFLAGS += -DRUST_DEBUG
|
||||
else
|
||||
CFG_GCCISH_CFLAGS += -DRUST_NDEBUG
|
||||
|
|
|
@ -489,12 +489,9 @@ impl CompositorLayer {
|
|||
.any(|x| {
|
||||
let buffers = cell.take();
|
||||
let result = x.add_buffers(pipeline_id, buffers.clone(), epoch);
|
||||
if result {
|
||||
result
|
||||
} else {
|
||||
cell.put_back(buffers);
|
||||
result
|
||||
}})
|
||||
cell.put_back(buffers);
|
||||
result
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue