( )⚙ D9490 rust: use NodePrefix::from_hex instead of hex::decode directly

This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by SimonSapin on Dec 2 2020, 9:22 AM.

Details

Summary

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

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

SimonSapin created this revision.Dec 2 2020, 9:22 AM
pulkit accepted this revision.Dec 4 2020, 1:27 PM
This revision is now accepted and ready to land.Dec 4 2020, 1:27 PM
baymax updated this revision to Diff 24025.Dec 4 2020, 5:39 PM