docs: Fix typos

This commit is contained in:
Luke Schoen 2019-03-04 14:46:56 +01:00 committed by GitHub
parent 44a978d591
commit 0eddfa5556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ project.
* **Module**: A collection of items: functions, structs, traits, and even other * **Module**: A collection of items: functions, structs, traits, and even other
modules. Modules allow you to hierarchically split code into logical units modules. Modules allow you to hierarchically split code into logical units
and manage visibility. and manage visibility.
* **Attribute**: Metadaata applied to some module, crate or item. * **Attribute**: Metadata applied to some module, crate or item.
* **Macros**: Macros are powerful meta-programming statements that get expanded * **Macros**: Macros are powerful meta-programming statements that get expanded
into source code that gets compiled with the rest of the code (Unlike `C` into source code that gets compiled with the rest of the code (Unlike `C`
macros that are pre-processed, Rust macros form an Abstract Syntax Tree). macros that are pre-processed, Rust macros form an Abstract Syntax Tree).
@ -185,7 +185,7 @@ check your code.
| Function / Method | ``snake_case`` | | Function / Method | ``snake_case`` |
| Macro Names | ``snake_case`` | | Macro Names | ``snake_case`` |
| Constants | ``SCREAMING_SNAKE_CASE`` | | Constants | ``SCREAMING_SNAKE_CASE`` |
| Forbidden name | Trialing Underscore: ``name_`` | | Forbidden name | Trailing Underscore: ``name_`` |
Other general rust docs: Other general rust docs: