Remove EntryHeader::new_current

This commit is contained in:
Marcel Müller 2016-01-23 17:40:39 +01:00
parent a64ffdfc56
commit 15931d3471
No known key found for this signature in database
GPG key ID: DD4ED37D0CAC76E2

View file

@ -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()
} }