From 05c316a1ed35aab904fc9ce78c9f66787b361848 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 13 Jun 2017 09:10:31 +0200 Subject: [PATCH] Fix build --- imag-link/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imag-link/src/main.rs b/imag-link/src/main.rs index a1c19f06..f3dc6ca4 100644 --- a/imag-link/src/main.rs +++ b/imag-link/src/main.rs @@ -355,7 +355,7 @@ mod tests { use libimagstore::storeid::StoreId; use libimagstore::store::{Result as StoreResult, FileLockEntry}; - static DEFAULT_ENTRY: &str = "\ + static DEFAULT_ENTRY: &'static str = "\ ---\ [imag]\ links = []\ @@ -370,8 +370,8 @@ version = \"0.3.0\"\ impl<'a> MockLinkApp<'a> { fn new(args: Vec<&'static str>) -> Self { - Self { - args, + MockLinkApp { + args: args, inner: ::build_ui(Runtime::get_default_cli_builder("imag-link", "0.3.0", "Link entries test")),