I don't think we actually care about default values here.
This commit is contained in:
parent
00b2c8f3c0
commit
dca473a08b
|
@ -12,7 +12,7 @@ use std::io::{Error, Write};
|
|||
|
||||
use crate::elements::{Datetime, Element};
|
||||
|
||||
pub trait ExportHandler<E: From<Error>>: Default {
|
||||
pub trait ExportHandler<E: From<Error>> {
|
||||
fn start<W: Write>(&mut self, writer: W, element: &Element) -> Result<(), E>;
|
||||
fn end<W: Write>(&mut self, writer: W, element: &Element) -> Result<(), E>;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue