1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-02 05:04:29 +02:00

zh-CN: fix typo (#1437)

There is a typo in `while let` loops chapter
This commit is contained in:
blkcor
2023-10-30 06:06:08 +08:00
committed by GitHub
parent bcd7cecdaa
commit 9f56149181

View File

@ -4854,7 +4854,7 @@ msgid ""
"reference/expressions/loop-expr.html#predicate-pattern-loops) variant which " "reference/expressions/loop-expr.html#predicate-pattern-loops) variant which "
"repeatedly tests a value against a pattern:" "repeatedly tests a value against a pattern:"
msgstr "" msgstr ""
"与 `if let` 一样,[`with let`](https://doc.rust-lang.org/reference/" "与 `if let` 一样,[`while let`](https://doc.rust-lang.org/reference/"
"expressions/loop-expr.html#predicate-pattern-loops) 变体会针对一个模式重复测" "expressions/loop-expr.html#predicate-pattern-loops) 变体会针对一个模式重复测"
"试一个值:" "试一个值:"