From 012da3ae1e74ca5ce9d91707b6262bd725a26fcc Mon Sep 17 00:00:00 2001 From: Aditya Pandit Date: Sat, 1 May 2021 19:50:20 +0530 Subject: [PATCH] fix(core): fix typo in error message of print function (#10456) --- core/bindings.rs | 2 +- docs/contributing/web_platform_tests.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/bindings.rs b/core/bindings.rs index 9a01a1e3767f46..ea45daff4c44fb 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; }; diff --git a/docs/contributing/web_platform_tests.md b/docs/contributing/web_platform_tests.md index 9077655e9e32bf..534726db6cb0e0 100644 --- a/docs/contributing/web_platform_tests.md +++ b/docs/contributing/web_platform_tests.md @@ -61,7 +61,7 @@ it. This will check that the python3 (or `python.exe` on Windows) is actually Python 3. -You can specify the following flags to customize bahaviour: +You can specify the following flags to customize behaviour: ``` --rebuild