diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-08-26 23:18:46 +0000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-09-12 22:34:16 +0200 |
commit | 54ce45f3eeb7c2b3069c093cefa4730484e39463 (patch) | |
tree | 525291c65ff9483abd4bf96d607994a15a93a64f /components/style/values/generics/transform.rs | |
parent | b2386986918b0874a67b494fef7a1d0b9836f507 (diff) | |
download | servo-54ce45f3eeb7c2b3069c093cefa4730484e39463.tar.gz servo-54ce45f3eeb7c2b3069c093cefa4730484e39463.zip |
style: Update cbindgen.
This cleans up the pattern of "Use a private dtor so that the helper functions
do the right thing" by enabling it everywhere using:
https://github.com/eqrion/cbindgen/pull/377
It also caught some uninitialized value issues.
I think they're mostly harmless since we zero-initialize our structs:
https://searchfox.org/mozilla-central/rev/325c1a707819602feff736f129cb36055ba6d94f/servo/components/style/properties/gecko.mako.rs#632
And since we override the clip rect, which is the other bit of code that was
failing to build with this change.
Differential Revision: https://phabricator.services.mozilla.com/D43491
Diffstat (limited to 'components/style/values/generics/transform.rs')
-rw-r--r-- | components/style/values/generics/transform.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/components/style/values/generics/transform.rs b/components/style/values/generics/transform.rs index 8dbbdfcd168..4a8dc7f63fa 100644 --- a/components/style/values/generics/transform.rs +++ b/components/style/values/generics/transform.rs @@ -151,7 +151,6 @@ fn is_same<N: PartialEq>(x: &N, y: &N) -> bool { )] #[repr(C, u8)] /// A single operation in the list of a `transform` value -/// cbindgen:derive-tagged-enum-copy-constructor=true pub enum GenericTransformOperation<Angle, Number, Length, Integer, LengthPercentage> where Angle: Zero, |