0 votes
in Rust by
How do we read a file into a string?

1 Answer

0 votes
by

We have to use read_to_string() method, which defines the on the Read trait in std::io

...