mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Rustfmt some of script.
This commit is contained in:
parent
ceb72e54e4
commit
0c61be7a57
50 changed files with 1499 additions and 885 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue