diff --git a/specta/Cargo.toml b/specta/Cargo.toml index 14bbc5c..c1cc201 100644 --- a/specta/Cargo.toml +++ b/specta/Cargo.toml @@ -27,7 +27,7 @@ derive = ["dep:specta-macros"] ## Support for exporting the types of Rust functions. function = ["specta-macros?/DO_NOT_USE_function", "dep:paste"] -#! Compatability +#! Compatibility ## Support for [serde](https://serde.rs) serde = ["dep:serde"] ## Support for [serde-json](https://github.com/serde-rs/json) diff --git a/specta/src/docs.md b/specta/src/docs.md index 81e25a6..7839cf3 100644 --- a/specta/src/docs.md +++ b/specta/src/docs.md @@ -50,7 +50,7 @@ Languages - `typescript` - Support for [TypeScript](https://www.typescriptlang.org) language exporting - `js_doc` - Support for [JSDoc](https://jsdoc.app) exporting helpers. Also requires `typescript` feature to be enabled. -Compatability +Compatibility - `serde` - Support for [serde](https://serde.rs) - `serde_json` - Support for [serde-json](https://github.com/serde-rs/json) @@ -92,4 +92,4 @@ Namely it deals with types individually which means it is not possible to export [Typeshare](https://github.com/1Password/typeshare) is also great, but its approach is fundamentally different. While Specta uses traits and runtime information, Typeshare statically analyzes your Rust files. -This results in a loss of information and lack of compatability with types from other crates. +This results in a loss of information and lack of compatibility with types from other crates.