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| {