mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix useless comparison in inline layout code revealed by new upstream rustc.
This commit is contained in:
parent
50a74ac2bf
commit
e06da115a8
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ impl TextRunScanner {
|
|||
|
||||
// helper functions
|
||||
pure fn can_coalesce_text_nodes(boxes: &[@RenderBox], left_i: uint, right_i: uint) -> bool {
|
||||
assert left_i >= 0 && left_i < boxes.len();
|
||||
assert left_i < boxes.len();
|
||||
assert right_i > 0 && right_i < boxes.len();
|
||||
assert left_i != right_i;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue