Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/lib.rs @ 50158:0d2ec486d95c
refactor: simplify code in rust version of path_encode
Moving the addition of '/' separator to the end of the loop makes the rest
of the logic much simpler because the first iteration is no longer special.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 16 Feb 2023 16:20:17 +0000 |
parents | c15b415d1bff |
children | a8531bd9210b |
comparison
equal
deleted
inserted
replaced
50157:fbb4c7117cf1 | 50158:0d2ec486d95c |
---|