Skip to content

Commit

Permalink
Fix spelling mistake: compatability -> compatibility (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgschiller authored Aug 31, 2024
1 parent 0f680cb commit 8509af0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion specta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions specta/src/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.

0 comments on commit 8509af0

Please sign in to comment.