move resolver logic into the resolver #996

Merged
CobaltCause merged 1 commit from reqwest-follow-up into next 2024-01-24 23:24:01 +00:00

1 commit

Author SHA1 Message Date
Charles Hall
fe86d28428
move resolver logic into the resolver
Honestly not sure why it wasn't done like this before. This code is much
less awkward to follow and more compartmentalized.

These changes were mainly motivated by a clippy lint triggering on the
original code, which then made me wonder if I could get rid of some of
the `Box`ing. Turns out I could, and this is the result of that.
2024-01-24 15:11:17 -08:00