Skip to content

Commit 37c663f

Browse files
authored
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
1 parent 12f5832 commit 37c663f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libc-bottom-half/headers/public/wasi/api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* and defined values (macros).
88
*
99
* The interface described here is greatly inspired by [CloudABI]'s clean,
10-
* thoughtfully-designed, cabability-oriented, POSIX-style API.
10+
* thoughtfully-designed, capability-oriented, POSIX-style API.
1111
*
1212
* [CloudABI]: https://github.com/NuxiNL/cloudlibc
1313
* [WASI]: https://github.com/WebAssembly/WASI/

tools/wasi-headers/src/c_header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub(crate) fn to_c_header(doc: &Document, inputs_str: &str) -> String {
1414
* and defined values (macros).
1515
*
1616
* The interface described here is greatly inspired by [CloudABI]'s clean,
17-
* thoughtfully-designed, cabability-oriented, POSIX-style API.
17+
* thoughtfully-designed, capability-oriented, POSIX-style API.
1818
*
1919
* [CloudABI]: https://github.com/NuxiNL/cloudlibc
2020
* [WASI]: https://github.com/WebAssembly/WASI/

0 commit comments

Comments
 (0)