unicode-table-gen: edition 2024
This commit is contained in:
parent
15acb0e0ec
commit
0959305986
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "unicode-table-generator"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ impl Canonicalized {
|
|||
// for canonical when possible.
|
||||
while let Some((&to, _)) = mappings
|
||||
.iter()
|
||||
.find(|(&to, _)| to == 0)
|
||||
.find(|&(&to, _)| to == 0)
|
||||
.or_else(|| mappings.iter().max_by_key(|m| m.1.len()))
|
||||
{
|
||||
// Get the mapping with the most entries. Currently, no mapping can
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue