pub fn default_path<P: AsRef<Path> + Clone>(path: P) -> PathBuf {
        // build the file name by appending .1 to its path
        let default_path = format!("{}.1", path.as_ref().to_string_lossy());

        PathBuf::from(default_path)
    }
/// When no archive is specified, just get the standard logrotate file name: add .1 at the end of the logfile
When no archive is specified, just get the standard logrotate file name: add .1 at the end of the logfile
When no archive is specified just get the standard logrotate file name : add . 1 at the end of the logfile
pub fn default_path<P: AsRef<Path> + Clone>(path: P) -> PathBuf {
        // build the file name by appending .1 to its path
        let default_path = format!("{}.1", path.as_ref().to_string_lossy());
        PathBuf::from(default_path)
    }
pub fn default_path < P : AsRef < Path > + Clone > ( path : P ) -> PathBuf { // build the file name by appending .1 to its path let default_path = format ! ( " " path as_ref ( ) to_string_lossy ( ) ) ; PathBuf :: from ( default_path ) }
When no archive is specified, just get the standard logrotate file name: add .1 at the end of the logfile
When no archive is specified just get the standard logrotate file name : add . 1 at the end of the logfile
path
P
path
P