Skip to content

Commit

Permalink
Bump Unicode to version 15.1.0, regenerate tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcondiro committed Feb 16, 2024
1 parent d4318ad commit 2810fe2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/unicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import collections
import urllib.request

UNICODE_VERSION = "15.0.0"
UNICODE_VERSION = "15.1.0"
UCD_URL = "https://www.unicode.org/Public/%s/ucd/" % UNICODE_VERSION

PREAMBLE = """// Copyright 2012-2018 The Rust Project Developers. See the COPYRIGHT
Expand Down
8 changes: 4 additions & 4 deletions src/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::quick_check::IsNormalized;
use crate::quick_check::IsNormalized::*;

#[allow(unused)]
pub const UNICODE_VERSION: (u8, u8, u8) = (15, 0, 0);
pub const UNICODE_VERSION: (u8, u8, u8) = (15, 1, 0);

pub(crate) const CANONICAL_COMBINING_CLASS_SALT: &[u16] = &[
0x0,
Expand Down Expand Up @@ -33841,14 +33841,13 @@ pub fn is_public_assigned(c: char) -> bool {
| '\u{2E80}'..='\u{2E99}'
| '\u{2E9B}'..='\u{2EF3}'
| '\u{2F00}'..='\u{2FD5}'
| '\u{2FF0}'..='\u{2FFB}'
| '\u{3000}'..='\u{303F}'
| '\u{2FF0}'..='\u{303F}'
| '\u{3041}'..='\u{3096}'
| '\u{3099}'..='\u{30FF}'
| '\u{3105}'..='\u{312F}'
| '\u{3131}'..='\u{318E}'
| '\u{3190}'..='\u{31E3}'
| '\u{31F0}'..='\u{321E}'
| '\u{31EF}'..='\u{321E}'
| '\u{3220}'..='\u{A48C}'
| '\u{A490}'..='\u{A4C6}'
| '\u{A4D0}'..='\u{A62B}'
Expand Down Expand Up @@ -34271,6 +34270,7 @@ pub fn is_public_assigned(c: char) -> bool {
| '\u{2B740}'..='\u{2B81D}'
| '\u{2B820}'..='\u{2CEA1}'
| '\u{2CEB0}'..='\u{2EBE0}'
| '\u{2EBF0}'..='\u{2EE5D}'
| '\u{2F800}'..='\u{2FA1D}'
| '\u{30000}'..='\u{3134A}'
| '\u{31350}'..='\u{323AF}'
Expand Down

0 comments on commit 2810fe2

Please sign in to comment.