This is an archive of the discontinued Mercurial Phabricator instance.

rust: replace read_whole_file with std::fs::read
ClosedPublic

Authored by SimonSapin on Feb 5 2021, 4:26 AM.

Details

Summary

It does the same thing

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.Feb 5 2021, 4:26 AM
Alphare accepted this revision.Feb 8 2021, 9:01 AM
Alphare added a subscriber: Alphare.

I think that this code predated an update to std::fs::read, I should have checked. :)

pulkit accepted this revision.Feb 10 2021, 7:04 AM
This revision is now accepted and ready to land.Feb 10 2021, 7:04 AM
This revision was automatically updated to reflect the committed changes.