style: Fix servo build and drop a FIXME there.

This commit is contained in:
Emilio Cobos Álvarez 2018-09-15 19:15:10 +02:00
parent 8aeaa3fc02
commit 278ab8613f
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 17 additions and 2 deletions

View file

@ -167,8 +167,11 @@ impl Image {
})
}
/// Provides an alternate method for parsing that associates the URL
/// with anonymous CORS headers.
/// Provides an alternate method for parsing that associates the URL with
/// anonymous CORS headers.
///
/// FIXME(emilio): It'd be nicer for this to pass a `CorsMode` parameter to
/// a shared function instead.
pub fn parse_with_cors_anonymous<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>,