diff options
author | Nora <nora.widdecke@tu-bs.de> | 2019-01-16 00:43:52 +0100 |
---|---|---|
committer | Nora <nora.widdecke@tu-bs.de> | 2019-01-16 00:43:52 +0100 |
commit | 9a909921b8598efda37bd64da25ee3981c09603d (patch) | |
tree | 00ce04c0fce770d9555e60ffbce6ef2ccaefce95 /src/khline.rs | |
parent | 06f496db77850b61597007ea870e38df1dca1b31 (diff) |
edit: check edited file and allow continued edit
Diffstat (limited to 'src/khline.rs')
-rw-r--r-- | src/khline.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/khline.rs b/src/khline.rs index df2543e..9ef55ab 100644 --- a/src/khline.rs +++ b/src/khline.rs @@ -14,7 +14,7 @@ pub struct KhLine { } impl KhLine { - fn new(path: &Path, time: Option<DateTime<Local>>) -> Self { + pub fn new(path: &Path, time: Option<DateTime<Local>>) -> Self { let path = if path.is_relative() { defaults::get_caldir().join(path) } else { |