From cf77c51afb59a4276bf1d55784dfa0e88b77e0ca Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 18 Sep 2016 18:51:50 +0200 Subject: [PATCH] Variable hasnt to be mutable --- libimagstorestdhook/src/vcs/git/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstorestdhook/src/vcs/git/runtime.rs b/libimagstorestdhook/src/vcs/git/runtime.rs index 45ffa29a..51ac4714 100644 --- a/libimagstorestdhook/src/vcs/git/runtime.rs +++ b/libimagstorestdhook/src/vcs/git/runtime.rs @@ -64,7 +64,7 @@ impl Runtime { .map_err_into(GHEK::ConfigError) .map_err(Box::new) .map_err(|e| HEK::HookExecutionError.into_error_with_cause(e)) - .map_err(|mut e| e.with_custom_data(CustomData::default().aborting(false))) + .map_err(|e| e.with_custom_data(CustomData::default().aborting(false))) .map_dbg_err(|_| { format!("[GIT {} HOOK]: Couldn't get Value object from config", action.uppercase()) })