Merge pull request #279 from ltfschoen/patch-1

docs: Fix typos
This commit is contained in:
Paul Hauner 2019-03-05 19:22:18 +13:00 committed by GitHub
commit ebb7349ee3
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: