Replies: 2 comments
-
非常有道理。。。目前的内容确实更像是: 有这个东西,而不是有这个东西大家可以用来做什么。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我转到 issue 了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
目前是把or_else() 和 and_then()等函数的使用情况都列举出来 但是不直观也让人看不下去
应该是介绍这些函数的应用场景 比如and_then()是取Ok或Option里的内容并执行闭包里的代码,如果是Err或None就不管 这个函数就是关注有结果的东西而不是错误或者空值
或者可以写出等效的match表达式 让别人知道这个函数简化了哪些工作
Beta Was this translation helpful? Give feedback.
All reactions