summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-05-02 06:40:52 +0200
committerLibravatar GitHub <noreply@github.com>2024-05-02 06:40:52 +0200
commit72b78a9a8d7cffaa8baa13e710e1cb89178fef9e (patch)
treef719becc30e0e9a806a948ffce293ae138cad5a1 /src
parente2aee80aa1371b91d08a2aeccc814f742d4dedb4 (diff)
parentf6c698b2dd09288203e5732c2051661ee0580e76 (diff)
downloadiced-72b78a9a8d7cffaa8baa13e710e1cb89178fef9e.tar.gz
iced-72b78a9a8d7cffaa8baa13e710e1cb89178fef9e.tar.bz2
iced-72b78a9a8d7cffaa8baa13e710e1cb89178fef9e.zip
Merge pull request #2412 from JL710/patch-1
add missing derive(Debug) in lib.rs docs
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c96c28a3..7517dd14 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -51,6 +51,7 @@
//! We start by modelling the __state__ of our application:
//!
//! ```
+//! #[derive(Default)]
//! struct Counter {
//! // The counter value
//! value: i32,