|
2 | 2 |
|
3 | 3 | - [Introduction](./intro.md)
|
4 | 4 | - [Idioms](./idioms/README.md)
|
5 |
| - * [Concatenating Strings with `format!`](./idioms/concat-format.md) |
6 |
| - * [Constructor](./idioms/ctor.md) |
7 |
| - * [The `Default` Trait](./idioms/default.md) |
8 |
| - * [Collections Are Smart Pointers](./idioms/deref.md) |
9 |
| - * [Finalisation in Destructors](./idioms/dtor-finally.md) |
10 |
| - * [`mem::replace(_)`](./idioms/mem-replace.md) |
11 |
| - * [On-Stack Dynamic Dispatch](./idioms/on-stack-dyn-dispatch.md) |
12 |
| - * [Iterating over an `Option`](./idioms/option-iter.md) |
13 |
| - * [Pass Variables to Closure](./idioms/pass-var-to-closure.md) |
14 |
| - * [Privacy For Extensibility](./idioms/priv-extend.md) |
15 |
| - * [Easy doc initialization](./idioms/rustdoc-init.md) |
16 |
| - * [Temporary mutability](./idioms/temporary-mutability.md) |
17 |
| - |
| 5 | + - [Concatenating Strings with `format!`](./idioms/concat-format.md) |
| 6 | + - [Constructor](./idioms/ctor.md) |
| 7 | + - [The `Default` Trait](./idioms/default.md) |
| 8 | + - [Collections Are Smart Pointers](./idioms/deref.md) |
| 9 | + - [Finalisation in Destructors](./idioms/dtor-finally.md) |
| 10 | + - [`mem::replace(_)`](./idioms/mem-replace.md) |
| 11 | + - [On-Stack Dynamic Dispatch](./idioms/on-stack-dyn-dispatch.md) |
| 12 | + - [Iterating over an `Option`](./idioms/option-iter.md) |
| 13 | + - [Pass Variables to Closure](./idioms/pass-var-to-closure.md) |
| 14 | + - [Privacy For Extensibility](./idioms/priv-extend.md) |
| 15 | + - [Easy doc initialization](./idioms/rustdoc-init.md) |
| 16 | + - [Temporary mutability](./idioms/temporary-mutability.md) |
| 17 | + |
18 | 18 | - [Design Patterns](./patterns/README.md)
|
19 |
| - * [Builder](./patterns/builder.md) |
20 |
| - * [Compose Structs](./patterns/compose-structs.md) |
21 |
| - * [Entry API](./patterns/entry.md) |
22 |
| - * [Fold](./patterns/fold.md) |
23 |
| - * [Late Bound Bounds](./patterns/late-bounds.md) |
24 |
| - * [Newtype](./patterns/newtype.md) |
25 |
| - * [RAII Guards](./patterns/RAII.md) |
26 |
| - * [Prefer Small Crates](./patterns/small-crates.md) |
27 |
| - * [Contain unsafety in small modules](./patterns/unsafe-mods.md) |
28 |
| - * [Visitor](./patterns/visitor.md) |
| 19 | + - [Builder](./patterns/builder.md) |
| 20 | + - [Compose Structs](./patterns/compose-structs.md) |
| 21 | + - [Entry API](./patterns/entry.md) |
| 22 | + - [Fold](./patterns/fold.md) |
| 23 | + - [Late Bound Bounds](./patterns/late-bounds.md) |
| 24 | + - [Newtype](./patterns/newtype.md) |
| 25 | + - [RAII Guards](./patterns/RAII.md) |
| 26 | + - [Prefer Small Crates](./patterns/small-crates.md) |
| 27 | + - [Contain unsafety in small modules](./patterns/unsafe-mods.md) |
| 28 | + - [Visitor](./patterns/visitor.md) |
29 | 29 |
|
30 | 30 | - [Anti-patterns](./anti_patterns/README.md)
|
31 |
| - * [`#[deny(warnings)]`](./anti_patterns/deny-warnings.md) |
32 |
| - * [Deref Polymorphism](./anti_patterns/deref.md) |
| 31 | + - [`#[deny(warnings)]`](./anti_patterns/deny-warnings.md) |
| 32 | + - [Deref Polymorphism](./anti_patterns/deref.md) |
0 commit comments