aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/document_loader.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2016-02-05 14:39:56 -0500
committerJosh Matthews <josh@joshmatthews.net>2016-02-10 09:20:06 -0500
commit047bb060c155711e8e7d4d7ca4072c7b739f08c0 (patch)
treed2b047065aee8096df48c8e4af32812235ec7c89 /components/script/document_loader.rs
parentd6ea4b60a4c251b5aa655fa9a503c3f5b98a5881 (diff)
downloadservo-047bb060c155711e8e7d4d7ca4072c7b739f08c0.tar.gz
servo-047bb060c155711e8e7d4d7ca4072c7b739f08c0.zip
Improve documentation for new methods.
Diffstat (limited to 'components/script/document_loader.rs')
-rw-r--r--components/script/document_loader.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/document_loader.rs b/components/script/document_loader.rs
index c6c33fc1a5d..b702c6b30ed 100644
--- a/components/script/document_loader.rs
+++ b/components/script/document_loader.rs
@@ -120,6 +120,7 @@ impl DocumentLoader {
}
}
+ /// Add a load to the list of blocking loads.
pub fn add_blocking_load(&mut self, load: LoadType) {
self.blocking_loads.push(load);
}