diff --git a/Cargo.toml b/Cargo.toml index 559b8618..d7a96a78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cssparser" -version = "0.24.0" +version = "0.24.1" authors = [ "Simon Sapin " ] description = "Rust implementation of CSS Syntax Level 3" diff --git a/src/unicode_range.rs b/src/unicode_range.rs index 5cdb665c..7b24d696 100644 --- a/src/unicode_range.rs +++ b/src/unicode_range.rs @@ -13,6 +13,7 @@ use tokenizer::Token; /// /// Can not be empty. Can represent a single code point when start == end. #[derive(PartialEq, Eq, Clone, Hash)] +#[repr(C)] pub struct UnicodeRange { /// Inclusive start of the range. In [0, end]. pub start: u32,