Skip to content

Commit

Permalink
Auto merge of #20030 - emilio:useless-return-is-useless, r=nox
Browse files Browse the repository at this point in the history
style: Remove useless code after #19994

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20030)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed Feb 12, 2018
2 parents 889bb01 + 9744840 commit 3a42f6f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions components/style/gecko/data.rs
Expand Up @@ -148,14 +148,6 @@ impl PerDocumentStyleData {
}
}

impl Drop for PerDocumentStyleDataImpl {
fn drop(&mut self) {
if !structs::GECKO_IS_NIGHTLY {
return
}
}
}

impl PerDocumentStyleDataImpl {
/// Recreate the style data if the stylesheets have changed.
pub fn flush_stylesheets<E>(
Expand Down

0 comments on commit 3a42f6f

Please sign in to comment.