From 37c663f2f020d69b2f9017e27cae214ef584f1a4 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Fri, 7 Feb 2020 14:18:10 +0100 Subject: [PATCH] Correct minor typo in c_headers.rs (#166) The header api.h was update using the following command: $ cd tools/wasi-headers $ cargo run -- WASI/phases/snapshot/witx/typenames.witx \ WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx \ --output ../../libc-bottom-half/headers/public/wasi/api.h --- libc-bottom-half/headers/public/wasi/api.h | 2 +- tools/wasi-headers/src/c_header.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libc-bottom-half/headers/public/wasi/api.h b/libc-bottom-half/headers/public/wasi/api.h index a9683e6..2033d6b 100644 --- a/libc-bottom-half/headers/public/wasi/api.h +++ b/libc-bottom-half/headers/public/wasi/api.h @@ -7,7 +7,7 @@ * and defined values (macros). * * The interface described here is greatly inspired by [CloudABI]'s clean, - * thoughtfully-designed, cabability-oriented, POSIX-style API. + * thoughtfully-designed, capability-oriented, POSIX-style API. * * [CloudABI]: https://github.com/NuxiNL/cloudlibc * [WASI]: https://github.com/WebAssembly/WASI/ diff --git a/tools/wasi-headers/src/c_header.rs b/tools/wasi-headers/src/c_header.rs index d37094a..b379bca 100644 --- a/tools/wasi-headers/src/c_header.rs +++ b/tools/wasi-headers/src/c_header.rs @@ -14,7 +14,7 @@ pub(crate) fn to_c_header(doc: &Document, inputs_str: &str) -> String { * and defined values (macros). * * The interface described here is greatly inspired by [CloudABI]'s clean, - * thoughtfully-designed, cabability-oriented, POSIX-style API. + * thoughtfully-designed, capability-oriented, POSIX-style API. * * [CloudABI]: https://github.com/NuxiNL/cloudlibc * [WASI]: https://github.com/WebAssembly/WASI/