Auto merge of #20030 - emilio:useless-return-is-useless, r=nox

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 -->
This commit is contained in:
bors-servo 2018-02-12 08:47:36 -05:00 committed by GitHub
commit 3a42f6f988
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>(