From 4e3628727a0dbf906303c94fe1303e131cf1ff6f Mon Sep 17 00:00:00 2001 From: Yang Hau Date: Mon, 19 Sep 2022 20:35:35 +0800 Subject: [PATCH] fix the typos --- Makefile | 4 ++-- deny.toml | 4 ++-- docs/cn/README.md | 2 +- tests/wasi-wast/wasi/tests/poll_oneoff.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 7ad96636e9b..f735fe1632c 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,7 @@ endif CARGO_BINARY ?= cargo CARGO_TARGET ?= -# Variables that can be overriden by the users to force to enable or +# Variables that can be overridden by the users to force to enable or # to disable a specific compiler. ENABLE_CRANELIFT ?= ENABLE_LLVM ?= @@ -670,7 +670,7 @@ endif ##### # -# Installating (for Distros). +# Installation (for Distros). # ##### diff --git a/deny.toml b/deny.toml index 066eddbfb2f..5f87fed14c2 100644 --- a/deny.toml +++ b/deny.toml @@ -66,7 +66,7 @@ ignore = [ [licenses] # The lint level for crates which do not have a detectable license unlicensed = "deny" -# List of explictly allowed licenses +# List of explicitly allowed licenses # See https://spdx.org/licenses/ for list of possible licenses # [possible values: any SPDX 3.7 short identifier (+ optional exception)]. allow = [ @@ -74,7 +74,7 @@ allow = [ "Apache-2.0", "Apache-2.0 WITH LLVM-exception", ] -# List of explictly disallowed licenses +# List of explicitly disallowed licenses # See https://spdx.org/licenses/ for list of possible licenses # [possible values: any SPDX 3.7 short identifier (+ optional exception)]. deny = [ diff --git a/docs/cn/README.md b/docs/cn/README.md index ce83d0a06b5..2c7699fe068 100644 --- a/docs/cn/README.md +++ b/docs/cn/README.md @@ -65,7 +65,7 @@ iwr https://win.wasmer.io -useb | iex #### 执行WebAssembly文件 -安装Wasmer之后,你已经准备好执行第一个WebAssemby文件了! 🎉 +安装Wasmer之后,你已经准备好执行第一个WebAssembly文件了! 🎉 您可以通过运行 QuickJS 开始: [qjs.wasm](https://registry-cdn.wapm.io/contents/_/quickjs/0.0.3/build/qjs.wasm) diff --git a/tests/wasi-wast/wasi/tests/poll_oneoff.rs b/tests/wasi-wast/wasi/tests/poll_oneoff.rs index 9c856af36ab..da942ff4aa4 100644 --- a/tests/wasi-wast/wasi/tests/poll_oneoff.rs +++ b/tests/wasi-wast/wasi/tests/poll_oneoff.rs @@ -11,7 +11,7 @@ use std::path::PathBuf; #[cfg(target_os = "wasi")] #[link(wasm_import_module = "wasi_unstable")] extern "C" { - fn poll_oneoff(subscriptons: u32, events: u32, nsubscriptons: u32, nevents: u32) -> u16; + fn poll_oneoff(subscriptions: u32, events: u32, nsubscriptions: u32, nevents: u32) -> u16; } #[derive(Debug, Copy, Clone)]