There was an error while loading. Please reload this page.
1 parent 18f5c6f commit 1eb8725Copy full SHA for 1eb8725
1 file changed
src/runtime.rs
@@ -405,7 +405,7 @@ pub fn get_method(val: Value, method_name: &str) -> Value
405
static STRING_PARSE_INT: HostFn = HostFn { name: "parse_int", f: Fn2(string_parse_int) };
406
static STRING_TRIM: HostFn = HostFn { name: "trim", f: Fn1(string_trim) };
407
static STRING_UPPER: HostFn = HostFn { name: "upper", f: Fn1(string_upper) };
408
- static STRING_LOWER: HostFn = HostFn { name: "upper", f: Fn1(string_lower) };
+ static STRING_LOWER: HostFn = HostFn { name: "lower", f: Fn1(string_lower) };
409
static STRING_SPLIT: HostFn = HostFn { name: "split", f: Fn2(string_split) };
410
static STRING_TO_S: HostFn = HostFn { name: "to_s", f: Fn1(identity_method) };
411
0 commit comments