aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/document_loader.rs
diff options
context:
space:
mode:
authorConnor Brewster <connor.brewster@eagles.oc.edu>2016-06-30 18:13:01 -0600
committerConnor Brewster <connor.brewster@eagles.oc.edu>2016-06-30 18:13:01 -0600
commit5060c134936fc94b48012229870fe199666fadda (patch)
tree5382c2326263adf89a9a5b965e25e28828572d64 /components/script/document_loader.rs
parentd3a1a4ec7d936ecc0b431c09c3e9a7cc7b92538f (diff)
downloadservo-5060c134936fc94b48012229870fe199666fadda.tar.gz
servo-5060c134936fc94b48012229870fe199666fadda.zip
change load blocker drop assert to debug_assert
Diffstat (limited to 'components/script/document_loader.rs')
-rw-r--r--components/script/document_loader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/document_loader.rs b/components/script/document_loader.rs
index 82e015eef80..a68038572f2 100644
--- a/components/script/document_loader.rs
+++ b/components/script/document_loader.rs
@@ -86,7 +86,7 @@ impl LoadBlocker {
impl Drop for LoadBlocker {
fn drop(&mut self) {
if !thread::panicking() {
- assert!(self.load.is_none());
+ debug_assert!(self.load.is_none());
}
}
}