mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
Auto merge of #10365 - emilio:warnings, r=Wafflespeanut
servo: Clean up unused variables and imports <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10365) <!-- Reviewable:end -->
This commit is contained in:
commit
a29da7b48e
3 changed files with 3 additions and 3 deletions
|
@ -115,8 +115,8 @@ use style::restyle_hints::ElementSnapshot;
|
|||
use style::servo::Stylesheet;
|
||||
use task_source::dom_manipulation::DOMManipulationTask;
|
||||
use time;
|
||||
use url::Url;
|
||||
use url::percent_encoding::percent_decode;
|
||||
use url::{Host, Url};
|
||||
use util::str::{DOMString, split_html_space_chars, str_join};
|
||||
|
||||
#[derive(JSTraceable, PartialEq, HeapSizeOf)]
|
||||
|
|
|
@ -40,7 +40,7 @@ impl StyleSheetListMethods for StyleSheetList {
|
|||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom/#dom-stylesheetlist-item
|
||||
fn Item(&self, index: u32) -> Option<Root<StyleSheet>> {
|
||||
fn Item(&self, _index: u32) -> Option<Root<StyleSheet>> {
|
||||
None
|
||||
//TODO Create a new StyleSheet object and return it
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue