Add elided lifetimes to view helpers in examples
This commit is contained in:
parent
bde4572bc5
commit
5ca5000cdc
50 changed files with 95 additions and 84 deletions
|
|
@ -28,7 +28,7 @@ impl Counter {
|
|||
}
|
||||
}
|
||||
|
||||
fn view(&self) -> Column<Message> {
|
||||
fn view(&self) -> Column<'_, Message> {
|
||||
column![
|
||||
button("Increment").on_press(Message::Increment),
|
||||
text(self.value).size(50),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue