mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 21:01:10 +00:00
Remove unwrap
s
This commit is contained in:
parent
ce8125379e
commit
f6e1a7b117
7 changed files with 79 additions and 29 deletions
|
@ -995,19 +995,19 @@ passed keyword args: {RED}{kw_args_len}{RESET}"
|
|||
switch_lang!(
|
||||
"japanese" => format!(
|
||||
"{RED}{name}{RESET}は{}行目ですでに移動されています",
|
||||
moved_loc.ln_begin().unwrap()
|
||||
moved_loc.ln_begin().unwrap_or(0)
|
||||
),
|
||||
"simplified_chinese" => format!(
|
||||
"{RED}{name}{RESET}已移至第{}行",
|
||||
moved_loc.ln_begin().unwrap()
|
||||
moved_loc.ln_begin().unwrap_or(0)
|
||||
),
|
||||
"traditional_chinese" => format!(
|
||||
"{RED}{name}{RESET}已移至第{}行",
|
||||
moved_loc.ln_begin().unwrap()
|
||||
moved_loc.ln_begin().unwrap_or(0)
|
||||
),
|
||||
"english" => format!(
|
||||
"{RED}{name}{RESET} was moved in line {}",
|
||||
moved_loc.ln_begin().unwrap()
|
||||
moved_loc.ln_begin().unwrap_or(0)
|
||||
),
|
||||
),
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue