This is an archive of the discontinued Mercurial Phabricator instance.

rust: Make some file path parameters less generic
ClosedPublic

Authored by SimonSapin on Jun 4 2021, 5:02 AM.

Details

Summary

These are not widely used APIs that benefit from being maximally flexible,
taking an explicit &Path borrow is fine and simplifies their internals.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

SimonSapin created this revision.Jun 4 2021, 5:02 AM
baymax updated this revision to Diff 28435.Jun 4 2021, 7:23 AM

โœ… refresh by Heptapod after a successful CI run (๐Ÿ™ ๐Ÿ’š)

Alphare accepted this revision.Jun 4 2021, 8:39 AM
This revision is now accepted and ready to land.Jun 4 2021, 8:39 AM
This revision was automatically updated to reflect the committed changes.