docs: Document the use of American spelling

This commit is contained in:
Kévin Commaille 2022-06-12 14:12:22 +02:00 committed by Kévin Commaille
parent cf3aee33f4
commit 251c1c85d2
2 changed files with 8 additions and 0 deletions

View file

@ -48,6 +48,11 @@ help you on your way:
In general, try to replicate the coding style that is already present. Specifically:
### Naming
For internal consistency, ruma uses American spelling for variable names. Actual values may differ,
as the matrix specification has a mix of British and American English.
### Common Types
When writing endpoint definitions, use the following mapping from request /

View file

@ -10,6 +10,9 @@
//! > ⚠ Some details might be missing because rustdoc has trouble with re-exports so you may need
//! > to refer to other crates' documentations.
//!
//! > 🛈 For internal consistency, ruma uses American spelling for variable names. Actual values may
//! > differ, as the matrix specification has a mix of British and American English.
//!
//! # API features
//!
//! Depending on which parts of Matrix are relevant to you, activate the following features: