Baca konten file dalam karat

use std::fs;

fn main() {
    let data = fs::read_to_string("file_name.txt").expect("Unable to read file");
    println!("{}", data);
}
Bijay Poudel