In match_address we use a mutable remainder variable to track the remaining address string to parse. It would be beneficial for readability and maintainability to get rid of this mutable state. I tried it in the review but eventually failed. This might involve some changes outside of the fn match_address.
In
match_address
we use a mutableremainder
variable to track the remaining address string to parse. It would be beneficial for readability and maintainability to get rid of this mutable state. I tried it in the review but eventually failed. This might involve some changes outside of thefn match_address
.This is a follow-up of #26.