diff --git a/src/lib.rs b/src/lib.rs index a0e31be4f6..68cb99844f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -97,6 +97,7 @@ //! text(self.value).size(50), //! //! // The decrement button. We tell it to produce a +//! // `DecrementPressed` message when pressed //! button("-").on_press(Message::DecrementPressed), //! ] //! }