aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-09-24 21:07:10 +0200
committerSimon Sapin <simon.sapin@exyr.org>2019-09-25 18:04:35 +0200
commitd69607064bc619987dd406d5843fa6624af7b69e (patch)
tree8b6c0a834c1364013d26c27c78a2bc572bde6df8 /components/layout
parentf3fb4460a4c7ee9c3ad77abf4a49e505d23bc09d (diff)
downloadservo-d69607064bc619987dd406d5843fa6624af7b69e.tar.gz
servo-d69607064bc619987dd406d5843fa6624af7b69e.zip
Upgrade to rustc 1.39.0-nightly (66bf391c3 2019-09-23)
Diffstat (limited to 'components/layout')
-rw-r--r--components/layout/inline.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs
index 1c43ba13586..5ba82c1c95b 100644
--- a/components/layout/inline.rs
+++ b/components/layout/inline.rs
@@ -1048,7 +1048,9 @@ impl InlineFlow {
inline_start_position_for_fragment =
inline_start_position_for_fragment + slack_inline_size
},
- TextAlign::Left | TextAlign::ServoLeft | TextAlign::Right | TextAlign::ServoRight => unreachable!(),
+ TextAlign::Left | TextAlign::ServoLeft | TextAlign::Right | TextAlign::ServoRight => {
+ unreachable!()
+ },
}
// Lay out the fragments in visual order.