I don't think we actually care about default values here.

This commit is contained in:
Justin Abrahms 2023-07-14 17:26:43 -07:00
parent 00b2c8f3c0
commit dca473a08b
No known key found for this signature in database
GPG key ID: D50531413DBB1384

View file

@ -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>;
}