Skip to content

Commit

Permalink
修改2个不通顺的句子
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin263 authored and marvin263 committed Jan 9, 2024
1 parent 81cf1be commit 1fcc3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch09-02-recoverable-errors-with-result.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ enum Result<T, E> {

> 不同于使用 `match``Result<T, E>`
>
> 这里有好多 `match``match` 确实很强大,不过也非常的原始。第十三章我们会介绍闭包(closure),它会和定义在 `Result<T, E>` 中的很多方法一起使用。在处理代码中的 `Result<T, E>` 值时使用这些方法会比使用 `match` 更加简洁
> 这里有好多 `match``match` 确实很强大,不过也非常的原始。第十三章我们会介绍闭包(closure),它会和定义在 `Result<T, E>` 中的很多方法一起使用。在处理代码中的 `Result<T, E>` 值时,相比于使用 `match` ,使用这些方法会更加简洁
>
> 例如,这是另一个编写与示例 9-5 逻辑相同但是使用闭包和 `unwrap_or_else` 方法的例子:
>
Expand Down

0 comments on commit 1fcc3a2

Please sign in to comment.