Documentation
1
2
3
4
5
6
7
8
9
10
pub(crate) mod sfs {
    use std::fs;
    #[allow(dead_code)]
    pub fn fs_log() {
        // 读取文件
        let datas = fs::read("src/main.rs").unwrap();
        // 打印格式化后的文件
        println!("fs 读取文件后 打印 {}", String::from_utf8(datas).unwrap());
    }
}