diff options
author | Aditya Pandit <adityapandit38@gmail.com> | 2021-05-01 19:50:20 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-01 23:20:20 +0900 |
commit | 012da3ae1e74ca5ce9d91707b6262bd725a26fcc (patch) | |
tree | f8339db43b52798c16ad175f9d6da9254d01ed9c /core | |
parent | bb12c7a57aac2bd45806ba2f5229d1133ff71851 (diff) |
fix(core): fix typo in error message of print function (#10456)
Diffstat (limited to 'core')
-rw-r--r-- | core/bindings.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bindings.rs b/core/bindings.rs index 9a01a1e37..ea45daff4 100644 --- a/core/bindings.rs +++ b/core/bindings.rs @@ -285,7 +285,7 @@ fn print( if arg_len == 2 { let int_val = match is_err_arg.integer_value(scope) { Some(v) => v, - None => return throw_type_error(scope, "Invalid arugment. Argument 2 should indicate wheter or not to print to stderr."), + None => return throw_type_error(scope, "Invalid argument. Argument 2 should indicate whether or not to print to stderr."), }; is_err = int_val != 0; }; |