Skip to content

Commit

Permalink
Regenerate Unicode sources
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed May 17, 2021
1 parent cda2e47 commit 496da98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/folding/mapping/lookup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// This source is autogenerated. Do not modify it directly.
// To make modfications to this code, see `scripts/gen_case_lookups.rb`.
//
// Last generated on 2020-12-30 17:16:47 UTC.
// Last generated on 2021-05-17 14:03:38 UTC.
//
// Unicode version:
// CaseFolding-13.0.0.txt
Expand All @@ -15,7 +15,7 @@ use super::{Mapping, Mode};
#[must_use]
#[allow(clippy::match_same_arms)]
#[allow(clippy::too_many_lines)]
pub fn lookup(c: char, mode: Mode) -> Mapping {
pub const fn lookup(c: char, mode: Mode) -> Mapping {
let codepoint = c as u32;
let char_bytes = codepoint.to_be_bytes();
let mid_byte = char_bytes[2];
Expand Down
2 changes: 1 addition & 1 deletion tests/full_fold_exhaustive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// This source is autogenerated. Do not modify it directly.
// To make modfications to this code, see `scripts/gen_case_lookups.rb`.
//
// Last generated on 2020-12-30 17:16:47 UTC.
// Last generated on 2021-05-17 14:03:38 UTC.
//
// Unicode version:
// CaseFolding-13.0.0.txt
Expand Down
2 changes: 1 addition & 1 deletion tests/full_turkic_fold_exhaustive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// This source is autogenerated. Do not modify it directly.
// To make modfications to this code, see `scripts/gen_case_lookups.rb`.
//
// Last generated on 2020-12-30 17:16:47 UTC.
// Last generated on 2021-05-17 14:03:38 UTC.
//
// Unicode version:
// CaseFolding-13.0.0.txt
Expand Down

0 comments on commit 496da98

Please sign in to comment.