diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-01-03 14:39:46 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-01-03 14:39:46 -0700 |
commit | e8fac3681b690adb0796b2a807ac95bd9c13597a (patch) | |
tree | b8ad816b28494d51229edb93f4459d092ac9d92d /components/script/dom/bindings/trace.rs | |
parent | d8b6cec722e67f1fd39f154f4f0a298f2227501f (diff) | |
parent | d5c64f7f30054996e4db70d59cc6fb34e0be987d (diff) | |
download | servo-e8fac3681b690adb0796b2a807ac95bd9c13597a.tar.gz servo-e8fac3681b690adb0796b2a807ac95bd9c13597a.zip |
auto merge of #4535 : servo/servo/pre-rustup_20141221, r=jdm
This prepares for the rust upgrade currently being conducted.
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); } } |