mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 12:39:42 +00:00
Merge pull request #461 from caaaaaat6/master
Update result.md,修改了错别字:zh-CN/src/result-panic/result.md,第5题“简介”->”简洁“
This commit is contained in:
@ -125,7 +125,7 @@ fn multiply(n1_str: &str, n2_str: &str) -> Result<i32, ParseIntError> {
|
||||
}
|
||||
}
|
||||
|
||||
// 重写上面的 `multiply` ,让它尽量简介
|
||||
// 重写上面的 `multiply` ,让它尽量简洁
|
||||
// 提示:使用 `and_then` 和 `map`
|
||||
fn multiply1(n1_str: &str, n2_str: &str) -> Result<i32, ParseIntError> {
|
||||
// 实现...
|
||||
|
Reference in New Issue
Block a user