Merge pull request #908 from matthiasbeyer/libimagentryedit/dont-impl-for-fle

We dont need to impl this for FileLockEntry here
This commit is contained in:
Matthias Beyer 2017-02-23 15:21:45 +01:00 committed by GitHub
commit a0f581b342

View file

@ -49,14 +49,6 @@ impl Edit for Entry {
}
impl<'a> Edit for FileLockEntry<'a> {
fn edit_content(&mut self, rt: &Runtime) -> Result<()> {
self.deref_mut().edit_content(rt)
}
}
pub fn edit_in_tmpfile(rt: &Runtime, s: &mut String) -> Result<()> {
use libimagutil::edit::edit_in_tmpfile_with_command;