Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd2c5a10

Browse files
committed
Do not include an empty string into 'from_short_name' match chain
1 parentf81ded9 commitd2c5a10

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

‎scripts/unicode.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ def generate_script_impl(f):
312312
#[inline]
313313
pub(crate) fn inner_from_short_name(input: &str) -> Option<Self> {
314314
match input {
315-
"" => Some(Script::Unknown),
316315
"Zyyy" => Some(Script::Common),
317316
"Zinh" => Some(Script::Inherited),
318317
""")

‎src/tables.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,6 @@ impl Script {
15511551
#[inline]
15521552
pub(crate)fninner_from_short_name(input:&str) ->Option<Self>{
15531553
match input{
1554-
"" =>Some(Script::Unknown),
15551554
"Zyyy" =>Some(Script::Common),
15561555
"Zinh" =>Some(Script::Inherited),
15571556
"Adlm" =>Some(Script::Adlam),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp