use line_diff::{compare_lines, Config}; use std::error; use std::path::PathBuf; type Result = std::result::Result>; fn main() -> Result<()> { println!("Example with using a single file containing two lines"); let config = Config::from_file( false, false, vec![' '], PathBuf::from("examples/long-lines.txt"), ); println!("{:?}", config); compare_lines(config) }