We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a13020 + eeac4f8 commit c38077fCopy full SHA for c38077f
book/src/tutorial/db.md
@@ -35,14 +35,6 @@ If you want to permit accessing your database from multiple threads at once, the
35
{{#include ../../../examples-2022/calc/src/db.rs:par_db_impl}}
36
```
37
38
-## Implementing the `Default` trait
39
-
40
-It's not required, but implementing the `Default` trait is often a convenient way to let users instantiate your database:
41
42
-```rust
43
-{{#include ../../../examples-2022/calc/src/db.rs:default_impl}}
44
-```
45
46
## Implementing the traits for each jar
47
48
The `Database` struct also needs to implement the [database traits for each jar](./jar.md#database-trait-for-the-jar).
0 commit comments