fix warning
This commit is contained in:
parent
daf78f0547
commit
e500c3d3ac
|
@ -35,7 +35,6 @@ fn is_calendar_file(entry: &path::PathBuf) -> bool {
|
|||
}
|
||||
|
||||
fn calendar_files() -> Vec<path::PathBuf> {
|
||||
let mut files: Vec<path::PathBuf> = Vec::new();
|
||||
if let Some(data_dir) = dirs::data_dir() {
|
||||
let calendar_dir = data_dir.join("calendars");
|
||||
info!("calendar dir: {}", calendar_dir.to_str().unwrap_or("<none>"));
|
||||
|
|
Loading…
Reference in New Issue