mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Fix warnings in libstyle.
This commit is contained in:
parent
b655b54f80
commit
1ceadf3813
2 changed files with 6 additions and 2 deletions
|
@ -61,7 +61,7 @@ pub struct StyleRule {
|
|||
|
||||
impl Stylesheet {
|
||||
pub fn from_bytes_iter<I: Iterator<Item=Vec<u8>>>(
|
||||
mut input: I, base_url: Url, protocol_encoding_label: Option<&str>,
|
||||
input: I, base_url: Url, protocol_encoding_label: Option<&str>,
|
||||
environment_encoding: Option<EncodingRef>, origin: Origin) -> Stylesheet {
|
||||
let mut bytes = vec!();
|
||||
// TODO: incremental decoding and tokenization/parsing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue