aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/trace.rs
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/script/dom/bindings/trace.rs
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/script/dom/bindings/trace.rs')
-rw-r--r--components/script/dom/bindings/trace.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs
index 955638a7f7d..5299360adb7 100644
--- a/components/script/dom/bindings/trace.rs
+++ b/components/script/dom/bindings/trace.rs
@@ -87,7 +87,7 @@ pub fn trace_jsval(tracer: *mut JSTracer, description: &str, val: JSVal) {
(*tracer).debugPrinter = None;
(*tracer).debugPrintIndex = -1;
(*tracer).debugPrintArg = name.as_ptr() as *const libc::c_void;
- debug!("tracing value {:s}", description);
+ debug!("tracing value {}", description);
JS_CallTracer(tracer, val.to_gcthing(), val.trace_kind());
}
}
@@ -105,7 +105,7 @@ pub fn trace_object(tracer: *mut JSTracer, description: &str, obj: *mut JSObject
(*tracer).debugPrinter = None;
(*tracer).debugPrintIndex = -1;
(*tracer).debugPrintArg = name.as_ptr() as *const libc::c_void;
- debug!("tracing {:s}", description);
+ debug!("tracing {}", description);
JS_CallTracer(tracer, obj as *mut libc::c_void, JSTRACE_OBJECT);
}
}