layout: Fix servo build.

TextAlign now implements FromPrimitive instead of an ad-hoc method.
This commit is contained in:
Emilio Cobos Álvarez 2018-11-10 20:30:51 +01:00
parent c6ead1dc0e
commit 48ce20b6fe
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 3 additions and 0 deletions

1
Cargo.lock generated
View file

@ -1930,6 +1930,7 @@ dependencies = [
"malloc_size_of 0.0.1",
"msg 0.0.1",
"net_traits 0.0.1",
"num-traits 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
"ordered-float 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)",
"profile_traits 0.0.1",