This is an archive of the discontinued Mercurial Phabricator instance.

rhg: replace `map_*_error` functions with `From` impls
ClosedPublic

Authored by SimonSapin on Jan 26 2021, 2:59 PM.

Diff Detail

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

Event Timeline

SimonSapin created this revision.Jan 26 2021, 2:59 PM
Alphare accepted this revision.Jan 29 2021, 8:00 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
rust/rhg/src/error.rs
137

If it's possible to also fix the typo here, that'd be great.

186

and here...

231

... and here!

Unknow -> unknown? The variant names also have this typo, but they and the messages are gone in D9897 anyway.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.