about summary refs log tree commit diff
path: root/src/libunicode/tables.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunicode/tables.rs')
-rw-r--r--src/libunicode/tables.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libunicode/tables.rs b/src/libunicode/tables.rs
index c91ce5c6464..54f7b3501b8 100644
--- a/src/libunicode/tables.rs
+++ b/src/libunicode/tables.rs
@@ -7138,6 +7138,7 @@ pub mod charwidth {
 pub mod grapheme {
     pub use self::GraphemeCat::*;
     use core::slice::SlicePrelude;
+    use core::kinds::Copy;
     use core::slice;
 
     #[allow(non_camel_case_types)]
@@ -7155,6 +7156,8 @@ pub mod grapheme {
         GC_Any,
     }
 
+    impl Copy for GraphemeCat {}
+
     fn bsearch_range_value_table(c: char, r: &'static [(char, char, GraphemeCat)]) -> GraphemeCat {
         use core::cmp::Ordering::{Equal, Less, Greater};
         match r.binary_search(|&(lo, hi, _)| {