diff options
author | Arthur Marble <arthur@info9.net> | 2016-09-18 03:41:16 -0500 |
---|---|---|
committer | Arthur Marble <arthur@info9.net> | 2016-09-18 03:41:16 -0500 |
commit | 883902bd972c9ea91cf6b6be74908e87c517b72e (patch) | |
tree | 1c598d19c2770949d3f2fa31b401a0d671212a83 /components/script/script_runtime.rs | |
parent | dbec9d845472251b73e444d80a493173f11a0482 (diff) | |
download | servo-883902bd972c9ea91cf6b6be74908e87c517b72e.tar.gz servo-883902bd972c9ea91cf6b6be74908e87c517b72e.zip |
Most of the code refactoring needed to be done is done with this commit.
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r-- | components/script/script_runtime.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs index 124bf8f2b84..0287d0e9c10 100644 --- a/components/script/script_runtime.rs +++ b/components/script/script_runtime.rs @@ -370,11 +370,11 @@ unsafe extern "C" fn gc_slice_callback(_rt: *mut JSRuntime, progress: GCProgress }; if !desc.is_null() { let desc: &GCDescription = &*desc; - let invocationKind = match desc.invocationKind_ { + let invocation_kind = match desc.invocationKind_ { JSGCInvocationKind::GC_NORMAL => "GC_NORMAL", JSGCInvocationKind::GC_SHRINK => "GC_SHRINK", }; - println!(" isCompartment={}, invocationKind={}", desc.isCompartment_, invocationKind); + println!(" isCompartment={}, invocation_kind={}", desc.isCompartment_, invocation_kind); } let _ = stdout().flush(); } |