1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-14 06:06:54 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4854,7 +4854,7 @@ msgid ""
"reference/expressions/loop-expr.html#predicate-pattern-loops) variant which "
"repeatedly tests a value against a pattern:"
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) 变体会针对一个模式重复测"
"试一个值:"