Observed:
Expected:
Notes:
trunk gives the above "observed" screenshot. The "expected" screenshot is given with 0.4.0-beta2 and this diff (else compilation fails):
diff --git a/examples/browser/toolbar.rs b/examples/browser/toolbar.rs
index b4416dd..f3bcf68 100644
--- a/examples/browser/toolbar.rs
+++ b/examples/browser/toolbar.rs
@@ -35,12 +35,12 @@ impl BrowserToolbar {
let back_button = Button::new("Back");
let mut back_item = ToolbarItem::new(BACK_BUTTON);
back_item.set_button(back_button);
- back_item.set_action(|| Action::Back.dispatch());
+ back_item.set_action(|_| Action::Back.dispatch());
let forwards_button = Button::new("Forwards");
let mut forwards_item = ToolbarItem::new(FWDS_BUTTON);
forwards_item.set_button(forwards_button);
- forwards_item.set_action(|| Action::Forwards.dispatch());
+ forwards_item.set_action(|_| Action::Forwards.dispatch());
let url_bar = TextField::with(URLBar);
let url_bar_item = ToolbarItem::new(URL_BAR);
#30 appears to be the commit that breaks the browser example.
Observed:
Expected:
Notes:
trunkgives the above "observed" screenshot. The "expected" screenshot is given with0.4.0-beta2and this diff (else compilation fails):#30 appears to be the commit that breaks the browser example.