This is an archive of the discontinued Mercurial Phabricator instance.

rust: change &PathBuf parameters to &Path
ClosedPublic

Authored by SimonSapin on Dec 14 2020, 11:27 AM.

Details

Summary

This is just as useful in function bodies, and a less strict requirement for callers.

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.Dec 14 2020, 11:27 AM
pulkit accepted this revision.Dec 17 2020, 5:50 AM
This revision is now accepted and ready to land.Dec 17 2020, 5:50 AM
This revision was automatically updated to reflect the committed changes.