Skip to content

Commit 843c6f3

Browse files
committed
Remove unnecessary builders.
`delegation.rs` has three builders: `GenericsBuilder`, `PredicatesBuilder`, and `GenericArgsBuilder`. The first two builders have just two optional parameters, and the third one has zero. Each builder is used within a single function. The code is over-engineered. This commit removes the builders, replacing each with with a single `build_*` function. This makes the code shorter and simpler.
1 parent 8bb37a1 commit 843c6f3

File tree

1 file changed

+139
-193
lines changed

1 file changed

+139
-193
lines changed

0 commit comments

Comments
 (0)