stylo: Fix missing null terminators in error reporting code.

This was causing the patch in bug 1420026 to fail.
This commit is contained in:
Emilio Cobos Álvarez 2018-01-31 17:43:29 +01:00
parent c88dc51d03
commit d82c54bd30
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 4 additions and 2 deletions

View file

@ -13,6 +13,7 @@ use style_traits::ParseError;
use stylesheets::UrlExtraData;
/// Errors that can be encountered while parsing CSS.
#[derive(Debug)]
pub enum ContextualParseError<'a> {
/// A property declaration was not recognized.
UnsupportedPropertyDeclaration(&'a str, ParseError<'a>),