🔦 Refactored and simplified some parts of the code. And for some parts of the code applied more strict rules through clippy: pedantic and nursery. It's only partly compatible with that, as some part of the code, AFAIK represented for better readability. PR changes do not touch parts related to a better visual understanding of the code.
➡️ Additional notes about adding map_err: as it's more idiomatic way to process error flow for factored parts of code.
Description
🔦 Refactored and simplified some parts of the code. And for some parts of the code applied more strict rules through clippy:
pedantic
andnursery
. It's only partly compatible with that, as some part of the code, AFAIK represented for better readability. PR changes do not touch parts related to a better visual understanding of the code.➡️ Additional notes about adding
map_err
: as it's more idiomatic way to process error flow for factored parts of code.