aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/document_loader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/document_loader.rs')
-rw-r--r--components/script/document_loader.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/document_loader.rs b/components/script/document_loader.rs
index c5cc74ec3ea..00906af0c05 100644
--- a/components/script/document_loader.rs
+++ b/components/script/document_loader.rs
@@ -5,7 +5,7 @@
//! Tracking of pending loads in a document.
//! https://html.spec.whatwg.org/multipage/#the-end
-use msg::constellation_msg::{PipelineId};
+use msg::constellation_msg::PipelineId;
use net_traits::AsyncResponseTarget;
use net_traits::{PendingAsyncLoad, ResourceTask};
use std::sync::Arc;
@@ -86,7 +86,7 @@ impl DocumentLoader {
}
pub fn is_blocked(&self) -> bool {
- //TODO: Ensure that we report blocked if parsing is still ongoing.
+ // TODO: Ensure that we report blocked if parsing is still ongoing.
!self.blocking_loads.is_empty()
}