Fix a stupid copy/paste syntax error.
This commit is contained in:
parent
fc7a0517d3
commit
b8b0494c19
5 changed files with 5 additions and 5 deletions
|
|
@ -19,7 +19,7 @@ pub struct MediaElement {
|
|||
|
||||
pub fn parse_media_element(root: &Element) -> Result<MediaElement, Error> {
|
||||
if !root.is("media", MEDIA_ELEMENT_NS) {
|
||||
return Err(Error::ParseError("This is not a media element.")),
|
||||
return Err(Error::ParseError("This is not a media element."));
|
||||
}
|
||||
|
||||
let width = root.attr("width").and_then(|width| width.parse().ok());
|
||||
|
|
|
|||
Loading…
Reference in a new issue