summaryrefslogtreecommitdiffstats
path: root/src/utils/fileutil.rs
diff options
context:
space:
mode:
authorNora <nora.widdecke@tu-bs.de>2019-01-12 13:43:57 +0100
committerNora <nora.widdecke@tu-bs.de>2019-01-12 13:45:46 +0100
commit3407f3f2796d8d569df1bc5ba3bf5720fe11fe68 (patch)
tree73ae9bbb11ca718d0651a62965469360f79ff768 /src/utils/fileutil.rs
parentcbcf36f8c413b2ef7d15e94730efb7026be0390d (diff)
unroll: use read_khaleesi_line
Diffstat (limited to 'src/utils/fileutil.rs')
-rw-r--r--src/utils/fileutil.rs2
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,