Function rust_code_analysis::read_file_with_eol
source · Expand description
Reads a file and adds an EOL
at its end.
Examples
use std::path::Path;
use rust_code_analysis::read_file_with_eol;
let path = Path::new("Cargo.toml");
read_file_with_eol(&path).unwrap();