Skip to content

Commit 5eb26bd

Browse files
committed
fmt: dprint fmt
1 parent b43f019 commit 5eb26bd

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/patterns/structural/trait-for-bounds.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
## Description
44

5-
Trait bounds can become somewhat unwieldy, especially if one of the `Fn`
6-
traits[^fn-traits] is involved and there are specific requirements on the output
7-
type. In such cases the introduction of a new trait may help reduce verbosity,
8-
eliminate some type parameters and thus increase expressiveness. Such a trait
9-
can be accompanied with a generic `impl` for all types satisfying the original
10-
bound.
5+
Trait bounds can become somewhat unwieldy, especially if one of the `Fn` traits[^fn-traits]
6+
is involved and there are specific requirements on the output type. In such
7+
cases the introduction of a new trait may help reduce verbosity, eliminate some
8+
type parameters and thus increase expressiveness. Such a trait can be
9+
accompanied with a generic `impl` for all types satisfying the original bound.
1110

1211
## Example
1312

@@ -114,4 +113,5 @@ not be obvious right away that a simple closure may be used as a `Getter` in the
114113
example above.
115114

116115
[^fn-traits]: i.e. `Fn`, `FnOnce` and `FnMut`
116+
117117
[^read-docs]: meaning they may need to read more documentation

0 commit comments

Comments
 (0)