From 725848713b4dcf90cd9d4af6406258aef3b4af6f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 17 Nov 2016 11:32:59 +0100 Subject: [PATCH] libimagentrylink: Remove EntryHeader type, use toml::Value --- libimagentrylink/src/internal.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libimagentrylink/src/internal.rs b/libimagentrylink/src/internal.rs index 6a8e5b5c..83add039 100644 --- a/libimagentrylink/src/internal.rs +++ b/libimagentrylink/src/internal.rs @@ -19,7 +19,6 @@ use libimagstore::storeid::StoreId; use libimagstore::store::Entry; -use libimagstore::store::EntryHeader; use libimagstore::store::Result as StoreResult; use libimagstore::toml_ext::TomlValueExt; use libimagerror::into::IntoError; @@ -338,7 +337,7 @@ impl InternalLinker for Entry { } -fn rewrite_links>(header: &mut EntryHeader, links: I) -> Result<()> { +fn rewrite_links>(header: &mut Value, links: I) -> Result<()> { let links = try!(links.into_values() .fold(Ok(vec![]), |acc, elem| { acc.and_then(move |mut v| {