]> git.proxmox.com Git - cargo.git/blobdiff - vendor/bstr/src/unicode/fsm/grapheme_break_rev.rs
New upstream version 0.52.0
[cargo.git] / vendor / bstr / src / unicode / fsm / grapheme_break_rev.rs
index db6b6ee6c9fa58ccbc878afabc729275ee06372a..93e888c64a9df6cd7e7de950d8e12cfe99a79275 100644 (file)
@@ -2,40 +2,44 @@
 //
 //   ucd-generate dfa --name GRAPHEME_BREAK_REV --reverse --longest --sparse --minimize --anchored --state-size 2 src/unicode/fsm/ [snip (arg too long)]
 //
-// ucd-generate 0.2.8 is available on crates.io.
+// ucd-generate 0.2.9 is available on crates.io.
 
 #[cfg(target_endian = "big")]
-lazy_static! {
-    pub static ref GRAPHEME_BREAK_REV: ::regex_automata::SparseDFA<&'static [u8], u16> = {
-        #[repr(C)]
-        struct Aligned<B: ?Sized> {
-            _align: [u8; 0],
-            bytes: B,
-        }
+lazy_static::lazy_static! {
+  pub static ref GRAPHEME_BREAK_REV: ::regex_automata::SparseDFA<&'static [u8], u16> = {
+    #[repr(C)]
+    struct Aligned<B: ?Sized> {
+        _align: [u8; 0],
+        bytes: B,
+    }
 
-        static ALIGNED: &'static Aligned<[u8]> = &Aligned {
-            _align: [],
-            bytes: *include_bytes!("grapheme_break_rev.bigendian.dfa"),
-        };
-
-        unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) }
+    static ALIGNED: &'static Aligned<[u8]> = &Aligned {
+        _align: [],
+        bytes: *include_bytes!("grapheme_break_rev.bigendian.dfa"),
     };
+
+    unsafe {
+      ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes)
+    }
+  };
 }
 
 #[cfg(target_endian = "little")]
-lazy_static! {
-    pub static ref GRAPHEME_BREAK_REV: ::regex_automata::SparseDFA<&'static [u8], u16> = {
-        #[repr(C)]
-        struct Aligned<B: ?Sized> {
-            _align: [u8; 0],
-            bytes: B,
-        }
+lazy_static::lazy_static! {
+  pub static ref GRAPHEME_BREAK_REV: ::regex_automata::SparseDFA<&'static [u8], u16> = {
+    #[repr(C)]
+    struct Aligned<B: ?Sized> {
+        _align: [u8; 0],
+        bytes: B,
+    }
 
-        static ALIGNED: &'static Aligned<[u8]> = &Aligned {
-            _align: [],
-            bytes: *include_bytes!("grapheme_break_rev.littleendian.dfa"),
-        };
-
-        unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) }
+    static ALIGNED: &'static Aligned<[u8]> = &Aligned {
+        _align: [],
+        bytes: *include_bytes!("grapheme_break_rev.littleendian.dfa"),
     };
+
+    unsafe {
+      ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes)
+    }
+  };
 }