From 9a792324468388bed21dfb737a8c9310bc4aa392 Mon Sep 17 00:00:00 2001 From: Robert Ignat Date: Wed, 7 Jun 2017 18:07:09 +0200 Subject: [PATCH] Remove `enable_hooks` from `InternalConfiguration` --- imag-link/src/main.rs | 4 ---- libimagrt/src/configuration.rs | 4 ---- 2 files changed, 8 deletions(-) diff --git a/imag-link/src/main.rs b/imag-link/src/main.rs index 9f014ea8..f254488b 100644 --- a/imag-link/src/main.rs +++ b/imag-link/src/main.rs @@ -401,10 +401,6 @@ version = \"0.3.0\"\ } impl<'a> InternalConfiguration for MockLinkApp<'a> { - fn enable_hooks(&self) -> bool { - false - } - fn enable_logging(&self) -> bool { false } diff --git a/libimagrt/src/configuration.rs b/libimagrt/src/configuration.rs index d1aa896c..78902c41 100644 --- a/libimagrt/src/configuration.rs +++ b/libimagrt/src/configuration.rs @@ -280,10 +280,6 @@ pub trait GetConfiguration { impl<'a> GetConfiguration for App<'a, 'a> {} pub trait InternalConfiguration { - fn enable_hooks(&self) -> bool { - true - } - fn enable_logging(&self) -> bool { true }