Created
March 30, 2024 20:10
-
-
Save hapejot/296d5a84ac650bece76beb4c0dcb60ff to your computer and use it in GitHub Desktop.
Read file into String
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::fs; | |
| fn main() { | |
| let s = fs::read_to_string("address.txt").unwrap(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment