fn display_result(current: &PathBuf, new: &PathBuf) {
    let stdout = io::stdout();
    let mut buff = io::BufWriter::new(stdout);

    writeln!(buff, "{:?} \x1b[0;36m => \x1b[0m {:?}", current, new).unwrap();
}
// I call it current and new for the function arguments
// Because this function is used for rolling back as well.
I call it current and new for the function arguments
Because this function is used for rolling back as well.
I call it current and new for the function arguments Because this function is used for rolling back as well .
fn display_result(current: &PathBuf, new: &PathBuf) {
    let stdout = io::stdout();
    let mut buff = io::BufWriter::new(stdout);
    writeln!(buff, "{:?} \x1b[0;36m => \x1b[0m {:?}", current, new).unwrap();
}
fn display_result ( current : & PathBuf , new : & PathBuf ) { let stdout = io :: stdout ( ) ; let mut buff = io :: BufWriter :: new ( stdout ) ; writeln ! ( buff " \x1b \x1b " current new ) . unwrap ( ) ; }
I call it current and new for the function arguments
Because this function is used for rolling back as well.
I call it current and new for the function arguments Because this function is used for rolling back as well .
current
&PathBuf
new
&PathBuf
current
&PathBuf
new
&PathBuf