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
|
|
@ -83,7 +83,7 @@ impl Stopwatch {
|
|||
Subscription::batch(vec![tick, keyboard::on_key_press(handle_hotkey)])
|
||||
}
|
||||
|
||||
fn view(&self) -> Element<Message> {
|
||||
fn view(&self) -> Element<'_, Message> {
|
||||
const MINUTE: u64 = 60;
|
||||
const HOUR: u64 = 60 * MINUTE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue