Remove EntryHeader::new_current
This commit is contained in:
parent
a64ffdfc56
commit
15931d3471
1 changed files with 1 additions and 10 deletions
|
@ -226,16 +226,7 @@ pub type EntryResult<V> = RResult<V, ParserError>;
|
||||||
*/
|
*/
|
||||||
impl EntryHeader {
|
impl EntryHeader {
|
||||||
|
|
||||||
/**
|
pub fn new() -> 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 {
|
|
||||||
EntryHeader {
|
EntryHeader {
|
||||||
toml: build_default_header()
|
toml: build_default_header()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue