Skip to content

Commit 0959305

Browse files
committed
unicode-table-gen: edition 2024
1 parent 15acb0e commit 0959305

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/unicode-table-generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "unicode-table-generator"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition = "2024"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

src/tools/unicode-table-generator/src/raw_emitter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ impl Canonicalized {
272272
// for canonical when possible.
273273
while let Some((&to, _)) = mappings
274274
.iter()
275-
.find(|(&to, _)| to == 0)
275+
.find(|&(&to, _)| to == 0)
276276
.or_else(|| mappings.iter().max_by_key(|m| m.1.len()))
277277
{
278278
// Get the mapping with the most entries. Currently, no mapping can

0 commit comments

Comments
 (0)