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 {
|
||||
|
||||
/**
|
||||
* 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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue