Skip to content

Commit

Permalink
Update ctor.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsan committed Nov 21, 2021
1 parent f21dfb6 commit b27ced5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions idioms/ctor.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ any of the [`*or_default` functions in the standard library][std-or-default].
- The [builder pattern](../patterns/creational/builder.md) for constructing
objects where there are multiple configurations.

[associated function]: https://doc.rust-lang.org/stable/book/ch05-03-method-syntax.html#associated-functions
[std-default]: https://doc.rust-lang.org/stable/std/default/trait.Default.html
[std-or-default]: https://doc.rust-lang.org/stable/std/?search=or_default
- [associated function]: https://doc.rust-lang.org/stable/book/ch05-03-method-syntax.html#associated-functions

- [std-default]: https://doc.rust-lang.org/stable/std/default/trait.Default.html

- [std-or-default]: https://doc.rust-lang.org/stable/std/?search=or_default

0 comments on commit b27ced5

Please sign in to comment.