diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-01 21:49:19 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-01-02 19:04:18 +0100 |
commit | b51e83819dfc2fded3a10744b353338f75ccae4d (patch) | |
tree | 1edb2c5d81a53ef4e8d5717a2440599d7a3e0f53 /components/script/dom/bindings/trace.rs | |
parent | 141b5d038fad3c0c44a6f1b309b8ca9edea54580 (diff) | |
download | servo-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.rs | 4 |
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); } } |