add missing derive(Debug) in lib.rs docs
This commit is contained in:
parent
24501fd73b
commit
f6c698b2dd
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@
|
||||||
//! We start by modelling the __state__ of our application:
|
//! We start by modelling the __state__ of our application:
|
||||||
//!
|
//!
|
||||||
//! ```
|
//! ```
|
||||||
|
//! #[derive(Default)]
|
||||||
//! struct Counter {
|
//! struct Counter {
|
||||||
//! // The counter value
|
//! // The counter value
|
||||||
//! value: i32,
|
//! value: i32,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue