Skip to content

Commit 42b9cef

Browse files
committed
fix: correct unwrap-or-else link in ch13-01-closures.md
1 parent a3a9f9c commit 42b9cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch13-01-closures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,4 @@ impl<T> Option<T> {
209209

210210
當我們要在函式或型別中定義與使用閉包時,`Fn` 特徵是很重要的。在下個段落中,我們將討論疊代器。疊代器有許多方法都需要閉包引數,所以隨著我們繼續下去別忘了複習閉包的用法!
211211

212-
[unwrap-or-else]: ../std/option/enum.Option.html#method.unwrap_or_else
212+
[unwrap-or-else]: https://doc.rust-lang.org/std/option/enum.Option.html#method.unwrap_or_else

0 commit comments

Comments
 (0)