Merge pull request #166 from matthiasbeyer/libimagstore/header-get-toml-mutable
Fix: Add EntryHeader::toml_mut()
This commit is contained in:
commit
9a216af815
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue