diff --git a/README.md b/README.md index 8741fb83..1343fefe 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Developers: [Getting started](https://www.secondstate.io/articles/getting-starte [Function input and return values](nodejs/functions/README.md) -[Passing and return values of arbitary types from Node.js to Rust](nodejs/json_io/README.md) +[Passing and return values of arbitrary types from Node.js to Rust](nodejs/json_io/README.md) [Calling Node.js functions from Rust](nodejs/nodejs_example/README.md) diff --git a/faas/mtcnn/README.md b/faas/mtcnn/README.md index 36710ccf..cb927e46 100644 --- a/faas/mtcnn/README.md +++ b/faas/mtcnn/README.md @@ -81,7 +81,7 @@ Temporarily downgrade npm The following installation will require that npm is downgraded to `6.14.9`. There is [an npm cli issue](https://github.com/npm/cli/issues/1865) which prevents us from using the latest npm for this particular build from source task. -Because of the complexity of dependency management, please install aptitude because it provides a way to automatically resolve depencency conflicts. +Because of the complexity of dependency management, please install aptitude because it provides a way to automatically resolve dependency conflicts. ```bash sudo apt install aptitude diff --git a/faas/poster/README.md b/faas/poster/README.md index 813e1981..42e74481 100644 --- a/faas/poster/README.md +++ b/faas/poster/README.md @@ -70,4 +70,4 @@ Run the following commland to see the tested result. cargo run ``` -If everything goes well, follow the aboving instrcutions to publish your web application. +If everything goes well, follow the aboving instructions to publish your web application. diff --git a/faas/search-bytes/src/lib.rs b/faas/search-bytes/src/lib.rs index abf7f0d9..ddc133cb 100644 --- a/faas/search-bytes/src/lib.rs +++ b/faas/search-bytes/src/lib.rs @@ -11,8 +11,8 @@ pub fn search_bytes(haystack: &[u8], needle: &[u8]) -> String { #[wasm_bindgen] pub fn search_bytes_single_input(byte_array: &[u8]) -> String { // Parse the byte array to fetch the first 10 bytes as a literal number and remove the leading zero - // The cost of having 10 bytes to store the size (and the leading zero to ensure that one byte never exceeds 255) is negligable - // when compared with the dissadvantage of only being able to store up to 255 bytes per byte array and/or having to manage multidimensional arrays etc. + // The cost of having 10 bytes to store the size (and the leading zero to ensure that one byte never exceeds 255) is negligible + // when compared with the disadvantage of only being able to store up to 255 bytes per byte array and/or having to manage multidimensional arrays etc. let mut number_of_bytes_str = "".to_string(); for i in 0..10 { number_of_bytes_str.push_str(&byte_array[i].to_string());