HomePhabricator

rust: use NodePrefix::from_hex instead of hex::decode directly

Authored by SimonSapin.

Description

rust: use NodePrefix::from_hex instead of hex::decode directly

This adds support for prefixes with an odd number of hex digits.

Differential Revision: https://phab.mercurial-scm.org/D9490

Details