diff options
author | Connor Brewster <connor.brewster@eagles.oc.edu> | 2016-06-30 18:13:01 -0600 |
---|---|---|
committer | Connor Brewster <connor.brewster@eagles.oc.edu> | 2016-06-30 18:13:01 -0600 |
commit | 5060c134936fc94b48012229870fe199666fadda (patch) | |
tree | 5382c2326263adf89a9a5b965e25e28828572d64 /components/script/document_loader.rs | |
parent | d3a1a4ec7d936ecc0b431c09c3e9a7cc7b92538f (diff) | |
download | servo-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.rs | 2 |
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()); } } } |