in focus/util/src/sandbox_command.rs [20:35]
fn exhibit_file(file: &Path, title: &str) -> Result<()> {
use std::io;
let file = File::open(file).with_context(|| format!("Failed to open {}", file.display()))?;
let lines = io::BufReader::new(file).lines();
error!("Begin {}", &title);
#[allow(clippy::manual_flatten)]
for line in lines {
if let Ok(line) = line {
error!("{}", &line);
}
}
error!("End {}", &title);
Ok(())
}