Merge pull request #166 from matthiasbeyer/libimagstore/header-get-toml-mutable

Fix: Add EntryHeader::toml_mut()
This commit is contained in:
Matthias Beyer 2016-01-30 12:57:51 +01:00
commit 9a216af815

View file

@ -306,6 +306,10 @@ impl EntryHeader {
&self.toml &self.toml
} }
pub fn toml_mut(&mut self) -> &mut Table {
&mut self.toml
}
pub fn parse(s: &str) -> EntryResult<EntryHeader> { pub fn parse(s: &str) -> EntryResult<EntryHeader> {
use toml::Parser; use toml::Parser;