From 213cb32a88ddb8bd3f0cd05693864259943a574a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 24 Jan 2016 22:02:41 +0100 Subject: [PATCH] Fix: Add EntryHeader::toml_mut() --- libimagstore/src/store.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index bd9999bc..3533d684 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -306,6 +306,10 @@ impl EntryHeader { &self.toml } + pub fn toml_mut(&mut self) -> &mut Table { + &mut self.toml + } + pub fn parse(s: &str) -> EntryResult { use toml::Parser;