fn new(src: &'a Path, dest: &'a Path) -> RenameFile<'a> {
        RenameFile {
            undo: true,
            src: src,
            dest: dest,
        }
    }
// I have no idea why lifetime parameters are needed in this function as opposed to new() in CreateFile.
I have no idea why lifetime parameters are needed in this function as opposed to new() in CreateFile.
I have no idea why lifetime parameters are needed in this function as opposed to new () in CreateFile .
fn new(src: &'a Path, dest: &'a Path) -> RenameFile<'a> {
        RenameFile {
            undo: true,
            src: src,
            dest: dest,
        }
    }
fn new ( src : & ' a Path , dest : & ' a Path ) -> RenameFile < ' a > { RenameFile { undo : true , src : src , dest : dest , } }
I have no idea why lifetime parameters are needed in this function as opposed to new() in CreateFile.
I have no idea why lifetime parameters are needed in this function as opposed to new () in CreateFile .
src
&'a Path
dest
&'a Path