feat(docs): add markdown linter for exercises README.md files

This commit is contained in:
Ali Afsharzadeh
2023-03-30 19:53:22 +03:30
parent 362c1b0d11
commit 382e16eb7e
9 changed files with 36 additions and 11 deletions

View File

@@ -7,13 +7,13 @@ Data types can implement traits. To do so, the methods making up the trait are d
In this way, traits are somewhat similar to Java interfaces and C++ abstract classes.
Some additional common Rust traits include:
- `Clone` (the `clone` method)
- `Display` (which allows formatted display via `{}`)
- `Debug` (which allows formatted display via `{:?}`)
Because traits indicate shared behavior between data types, they are useful when writing generics.
## Further information
- [Traits](https://doc.rust-lang.org/book/ch10-02-traits.html)