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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.