Use AsyncFn now that we're on Rust 2024
This commit is contained in:
parent
a758dd113c
commit
4699e0de38
3 changed files with 3 additions and 13 deletions
|
|
@ -48,7 +48,7 @@ fn show_window ( application : & Application ) {
|
|||
|
||||
let ui = UI :: new (
|
||||
window ,
|
||||
|film_uuid| pinned_async ! {
|
||||
async |film_uuid| {
|
||||
data_manager . get_film_details (film_uuid) . await
|
||||
. expect ("A film with the given UUID should exist")
|
||||
} ,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue