diff options
author | Clément DAVID <c.david86@gmail.com> | 2017-08-23 14:10:08 +0200 |
---|---|---|
committer | Clément DAVID <c.david86@gmail.com> | 2017-08-23 21:38:44 +0200 |
commit | c5fe2351124c673d1dc4d59355a03654b4fcc541 (patch) | |
tree | baa752c3c7847e85c0e50389400b45f7bf2fc390 /components/layout/table_wrapper.rs | |
parent | ab73f3d61d895289898821272f6af2665c9c645c (diff) | |
download | servo-c5fe2351124c673d1dc4d59355a03654b4fcc541.tar.gz servo-c5fe2351124c673d1dc4d59355a03654b4fcc541.zip |
order derivable traits lists
Ignoring :
- **generated**.rs
- python/tidy/servo_tidy_tests/rust_tidy.rs
Diffstat (limited to 'components/layout/table_wrapper.rs')
-rw-r--r-- | components/layout/table_wrapper.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/table_wrapper.rs b/components/layout/table_wrapper.rs index 6d08df8d3fa..531176d52d3 100644 --- a/components/layout/table_wrapper.rs +++ b/components/layout/table_wrapper.rs @@ -35,7 +35,7 @@ use style::values::CSSFloat; use style::values::computed::LengthOrPercentageOrAuto; use table::{ColumnComputedInlineSize, ColumnIntrinsicInlineSize}; -#[derive(Copy, Clone, Serialize, Debug)] +#[derive(Clone, Copy, Debug, Serialize)] pub enum TableLayout { Fixed, Auto @@ -615,7 +615,7 @@ impl<'a> Add for &'a AutoLayoutCandidateGuess { /// The `CSSFloat` member specifies the weight of the smaller of the two guesses, on a scale from /// 0.0 to 1.0. -#[derive(Copy, Clone, PartialEq, Debug)] +#[derive(Clone, Copy, Debug, PartialEq)] enum SelectedAutoLayoutCandidateGuess { UseMinimumGuess, InterpolateBetweenMinimumGuessAndMinimumPercentageGuess(CSSFloat), |