diff options
author | Nora <nora.widdecke@tu-bs.de> | 2019-01-12 13:43:57 +0100 |
---|---|---|
committer | Nora <nora.widdecke@tu-bs.de> | 2019-01-12 13:45:46 +0100 |
commit | 3407f3f2796d8d569df1bc5ba3bf5720fe11fe68 (patch) | |
tree | 73ae9bbb11ca718d0651a62965469360f79ff768 /src/utils/fileutil.rs | |
parent | cbcf36f8c413b2ef7d15e94730efb7026be0390d (diff) |
unroll: use read_khaleesi_line
Diffstat (limited to 'src/utils/fileutil.rs')
-rw-r--r-- | src/utils/fileutil.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/fileutil.rs b/src/utils/fileutil.rs index b236cc7..985be59 100644 --- a/src/utils/fileutil.rs +++ b/src/utils/fileutil.rs @@ -70,7 +70,7 @@ pub fn read_file_to_string(path: &Path) -> Result<String, String> { } } -pub fn read_calendar_from_path(path: &Path) -> Result<IcalVCalendar, String> { +fn read_calendar_from_path(path: &Path) -> Result<IcalVCalendar, String> { trace!("Reading calendar from {}", path.to_string_lossy()); let content = match fs::read_to_string(path) { Ok(content) => content, |