Merge pull request #2412 from JL710/patch-1
add missing derive(Debug) in lib.rs docs
This commit is contained in:
commit
72b78a9a8d
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