summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-02-23 15:21:45 +0100
committerGitHub <noreply@github.com>2017-02-23 15:21:45 +0100
commita0f581b3426eacf492aa2c9dc914abf78f9fd701 (patch)
treed997ab75026d8216a84c73f98969b1cadc260401
parentef07c2cba946d930e72bd5576b738987e09c2593 (diff)
parenteaeff5808106e772258ae11f4d17bba31fc19f3b (diff)
downloadimag-a0f581b3426eacf492aa2c9dc914abf78f9fd701.zip
imag-a0f581b3426eacf492aa2c9dc914abf78f9fd701.tar.gz
Merge pull request #908 from matthiasbeyer/libimagentryedit/dont-impl-for-fle
We dont need to impl this for FileLockEntry here
-rw-r--r--libimagentryedit/src/edit.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/libimagentryedit/src/edit.rs b/libimagentryedit/src/edit.rs
index f83c51c..0c33483 100644
--- a/libimagentryedit/src/edit.rs
+++ b/libimagentryedit/src/edit.rs
@@ -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;