From 15931d3471c732480613a73e55c81fcbb831bc45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Sat, 23 Jan 2016 17:40:39 +0100 Subject: [PATCH] Remove EntryHeader::new_current --- libimagstore/src/store.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 0ffbed42..bd74cd36 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -226,16 +226,7 @@ pub type EntryResult = RResult; */ impl EntryHeader { - /** - * Get a new header object with a already-filled toml table - */ - pub fn new(toml: Table) -> EntryHeader { - EntryHeader { - toml: toml, - } - } - - pub fn new_current() -> EntryHeader { + pub fn new() -> EntryHeader { EntryHeader { toml: build_default_header() }