Skip to content
Permalink
Browse files

Remove use of deprecated language construct.

  • Loading branch information
jdm committed Nov 25, 2019
1 parent 7944d95 commit 1c7f2d696c4c19238d1362497db3ca1b866cc3da
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/script/script_runtime.rs
@@ -816,7 +816,7 @@ unsafe fn set_gc_zeal_options(cx: *mut RawJSContext) {
use js::jsapi::{JS_SetGCZeal, JS_DEFAULT_ZEAL_FREQ};

let level = match pref!(js.mem.gc.zeal.level) {
level @ 0...14 => level as u8,
level @ 0..=14 => level as u8,
_ => return,
};
let frequency = match pref!(js.mem.gc.zeal.frequency) {

0 comments on commit 1c7f2d6

Please sign in to comment.
You can’t perform that action at this time.