Skip to content

Commit

Permalink
Make ViaXml sized
Browse files Browse the repository at this point in the history
  • Loading branch information
tsurai committed Oct 16, 2015
1 parent 9b8a78e commit 9409223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ fn elem_with_text(tag_name: &'static str, chars: &str) -> Element {
}


trait ViaXml {
trait ViaXml : Sized {
fn to_xml(&self) -> Element;
fn from_xml(elem: Element) -> Result<Self, ReadError>;
}
Expand Down

0 comments on commit 9409223

Please sign in to comment.