Skip to content

Commit db16b9c

Browse files
committed
Add more links
1 parent 044a6aa commit db16b9c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

examples/fn/closures/input_parameters/input.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,12 @@ In addition, Rust will preferentially capture variables in the least
2020
restrictive manner possible on a variable-by-variable basis:
2121

2222
{input_parameters.play}
23+
24+
### See also:
25+
26+
[`std::mem::drop`][drop], [`Fn`][fn], [`FnMut`][fnmut], and [`FnOnce`][fnonce]
27+
28+
[drop]: http://doc.rust-lang.org/std/mem/fn.drop.html
29+
[fn]: http://doc.rust-lang.org/std/ops/trait.Fn.html
30+
[fnmut]: http://doc.rust-lang.org/std/ops/trait.FnMut.html
31+
[fnonce]: http://doc.rust-lang.org/std/ops/trait.FnOnce.html

examples/fn/closures/output_parameters/input.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ closure.
2020

2121
### See also:
2222

23-
[Boxing][box] and [Generics][generics]
23+
[Boxing][box], [`Fn`][fn], [`FnMut`][fnmut], [`FnBox`][fnbox], and
24+
[Generics][generics]
2425

2526
[box]: /std/box.html
27+
[fn]: http://doc.rust-lang.org/std/ops/trait.Fn.html
28+
[fnmut]: http://doc.rust-lang.org/std/ops/trait.FnMut.html
29+
[fnbox]: http://doc.rust-lang.org/std/boxed/trait.FnBox.html
2630
[generics]: /generics.html

0 commit comments

Comments
 (0)