Skip to content

Commit fae4db2

Browse files
authored
Merge pull request #1258 from ehuss/fix-links
Fix some broken links.
2 parents f49e432 + 59dac5d commit fae4db2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/conversion/try_from_try_into.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ generic traits for converting between types. Unlike `From`/`Into`, the
55
`TryFrom`/`TryInto` traits are used for fallible conversions, and as such,
66
return [`Result`]s.
77

8-
[from-into]: conversion/from_into.html
8+
[from-into]: from_into.html
99
[`TryFrom`]: https://doc.rust-lang.org/std/convert/trait.TryFrom.html
1010
[`TryInto`]: https://doc.rust-lang.org/std/convert/trait.TryInto.html
1111
[`Result`]: https://doc.rust-lang.org/std/result/enum.Result.html

src/fn/closures/output_parameters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# As output parameters
22

3-
Closures as input parameters are possible, so returning closures as
4-
output parameters should also be possible. However, anonymous
5-
closure types are, by definition, unknown, so we have to use
3+
Closures as input parameters are possible, so returning closures as
4+
output parameters should also be possible. However, anonymous
5+
closure types are, by definition, unknown, so we have to use
66
`impl Trait` to return them.
77

88
The valid traits for returns are slightly different than before:
@@ -46,6 +46,6 @@ fn main() {
4646

4747
[fn]: https://doc.rust-lang.org/std/ops/trait.Fn.html
4848
[fnmut]: https://doc.rust-lang.org/std/ops/trait.FnMut.html
49-
[fnbox]: https://doc.rust-lang.org/std/boxed/trait.FnBox.html
49+
[fnbox]: https://doc.rust-lang.org/std/boxed/trait.FnBox.html
5050
[generics]: ../../generics.md
51-
[impltrait]: ../../traits/impl_trait.md
51+
[impltrait]: ../../trait/impl_trait.md

0 commit comments

Comments
 (0)