Page MenuHomePhabricator

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

Authored by SimonSapin on Fri, Feb 5, 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.Fri, Feb 5, 4:26 AM
Alphare accepted this revision.Mon, Feb 8, 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.Wed, Feb 10, 7:04 AM
This revision is now accepted and ready to land.Wed, Feb 10, 7:04 AM
This revision was automatically updated to reflect the committed changes.