fn path_for_date(date: &Date<Local>, config: &Config) -> PathBuf {
    let filename = date.format(ACTIVITY_FILE_FORMAT).to_string();
    let file_path: PathBuf = [&config.data_dir, &filename].iter().collect();
    file_path
}
/// Get the path (fully qualified filename) of the file containing the activities of the given
/// date.
/// This does not check whether the file or its parent directories exist.
Get the path (fully qualified filename) of the file containing the activities of the given
date.
This does not check whether the file or its parent directories exist.
Get the path ( fully qualified filename ) of the file containing the activities of the given date . This does not check whether the file or its parent directories exist .
fn path_for_date(date: &Date<Local>, config: &Config) -> PathBuf {
    let filename = date.format(ACTIVITY_FILE_FORMAT).to_string();
    let file_path: PathBuf = [&config.data_dir, &filename].iter().collect();
    file_path
}
fn path_for_date ( date : & Date < Local > , config : & Config ) -> PathBuf { let filename = date . format ( ACTIVITY_FILE_FORMAT ) . to_string ( ) ; let file_path : PathBuf = [ & config . data_dir , & filename ] . iter ( ) . collect ( ) ; file_path }
Get the path (fully qualified filename) of the file containing the activities of the given
date.
Get the path ( fully qualified filename ) of the file containing the activities of the given date .
date
&Date<Local>
config
&Config