diff options
Diffstat (limited to 'tutorial/src/progressbin/imp.rs')
-rw-r--r-- | tutorial/src/progressbin/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/src/progressbin/imp.rs b/tutorial/src/progressbin/imp.rs index 38a654005..2dee9d1af 100644 --- a/tutorial/src/progressbin/imp.rs +++ b/tutorial/src/progressbin/imp.rs @@ -225,7 +225,7 @@ impl BinImpl for ProgressBin { // to stdout. Otherwise we pass through to the default message // handling of the parent class, i.e. forwarding to the parent // bins and the application. - MessageView::Element(ref msg) + MessageView::Element(msg) if msg.src().as_ref() == Some(self.progress.upcast_ref()) && msg .structure() |