This is an archive of the discontinued Mercurial Phabricator instance.

rust: replace Node::encode_hex with std::fmt::LowerHex
ClosedPublic

Authored by SimonSapin on Jan 25 2021, 4:12 PM.

Details

Summary

This avoids allocating intermediate strings.

Diff Detail

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

Event Timeline

SimonSapin created this revision.Jan 25 2021, 4:12 PM
pulkit accepted this revision.Jan 27 2021, 5:34 AM
This revision is now accepted and ready to land.Jan 27 2021, 5:34 AM
SimonSapin updated this revision to Diff 25348.Jan 28 2021, 2:38 PM
Alphare accepted this revision.Jan 29 2021, 6:32 AM