| 2 | use std::io::{self, Write}; |
| 3 | |
| 4 | struct FileManager { |
| 5 | filename: std::path::PathBuf, |
| 6 | mode: char, |
| 7 | file: Option<File>, |
| 8 | } |
| 9 | |
| 10 | impl FileManager { |
| 11 | fn new(filename: impl AsRef<std::path::Path>, mode: char) -> FileManager { |
nothing calls this directly
no outgoing calls
no test coverage detected