diff options
author | Jack Moffitt <jack@metajack.im> | 2014-11-05 12:33:11 -0700 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2014-11-13 11:17:43 +1000 |
commit | d1b433a3b3bab353f320b2f39fa953ce326d2d55 (patch) | |
tree | d7a197abb65827b36c47e6b5c3adcce9071643d3 /components/script/page.rs | |
parent | 26045d7fcbab8851fbefe2851cd904203f8fd8dd (diff) | |
download | servo-d1b433a3b3bab353f320b2f39fa953ce326d2d55.tar.gz servo-d1b433a3b3bab353f320b2f39fa953ce326d2d55.zip |
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
Diffstat (limited to 'components/script/page.rs')
-rw-r--r-- | components/script/page.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/page.rs b/components/script/page.rs index b150804b5d3..23e0f0152dd 100644 --- a/components/script/page.rs +++ b/components/script/page.rs @@ -357,13 +357,13 @@ impl Page { } Ok(_) => {} Err(Disconnected) => { - fail!("Layout task failed while script was waiting for a result."); + panic!("Layout task failed while script was waiting for a result."); } } debug!("script: layout joined") } - None => fail!("reader forked but no join port?"), + None => panic!("reader forked but no join port?"), } } } @@ -393,7 +393,7 @@ impl Page { debug!("avoided {:d} reflows", self.avoided_reflows.get()); self.avoided_reflows.set(0); - debug!("script: performing reflow for goal {:?}", goal); + debug!("script: performing reflow for goal {}", goal); // Now, join the layout so that they will see the latest changes we have made. self.join_layout(); |