Skip to content

Commit

Permalink
Merge pull request #1258 from ehuss/fix-links
Browse files Browse the repository at this point in the history
Fix some broken links.
  • Loading branch information
marioidival authored Sep 18, 2019
2 parents f49e432 + 59dac5d commit fae4db2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/conversion/try_from_try_into.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ generic traits for converting between types. Unlike `From`/`Into`, the
`TryFrom`/`TryInto` traits are used for fallible conversions, and as such,
return [`Result`]s.

[from-into]: conversion/from_into.html
[from-into]: from_into.html
[`TryFrom`]: https://doc.rust-lang.org/std/convert/trait.TryFrom.html
[`TryInto`]: https://doc.rust-lang.org/std/convert/trait.TryInto.html
[`Result`]: https://doc.rust-lang.org/std/result/enum.Result.html
Expand Down
10 changes: 5 additions & 5 deletions src/fn/closures/output_parameters.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# As output parameters

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

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

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

0 comments on commit fae4db2

Please sign in to comment.