aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-01 21:49:19 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-02 19:04:18 +0100
commitb51e83819dfc2fded3a10744b353338f75ccae4d (patch)
tree1edb2c5d81a53ef4e8d5717a2440599d7a3e0f53 /components/compositing
parent141b5d038fad3c0c44a6f1b309b8ca9edea54580 (diff)
downloadservo-b51e83819dfc2fded3a10744b353338f75ccae4d.tar.gz
servo-b51e83819dfc2fded3a10744b353338f75ccae4d.zip
Fix obsolete format traits.
They are to be removed from the language in the next rust upgrade.
Diffstat (limited to 'components/compositing')
-rw-r--r--components/compositing/compositor.rs2
-rw-r--r--components/compositing/constellation.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/compositing/compositor.rs b/components/compositing/compositor.rs
index 0e5294ae2f3..d8299f2fe4f 100644
--- a/components/compositing/compositor.rs
+++ b/components/compositing/compositor.rs
@@ -729,7 +729,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
}
fn on_load_url_window_event(&mut self, url_string: String) {
- debug!("osmain: loading URL `{:s}`", url_string);
+ debug!("osmain: loading URL `{}`", url_string);
self.got_load_complete_message = false;
let root_pipeline_id = match self.scene.root {
Some(ref layer) => layer.extra_data.borrow().pipeline.id.clone(),
diff --git a/components/compositing/constellation.rs b/components/compositing/constellation.rs
index 118f33bc3f3..85fb30f77f5 100644
--- a/components/compositing/constellation.rs
+++ b/components/compositing/constellation.rs
@@ -762,7 +762,7 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
fn handle_load_url_msg(&mut self, source_id: PipelineId, load_data: LoadData) {
let url = load_data.url.to_string();
- debug!("Constellation: received message to load {:s}", url);
+ debug!("Constellation: received message to load {}", url);
// Make sure no pending page would be overridden.
let source_frame = self.current_frame().as_ref().unwrap().find(source_id).expect(
"Constellation: received a LoadUrlMsg from a pipeline_id associated