Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2602e24 authored by Zach Johnson's avatar Zach Johnson
Browse files

rusty-gd: fix parted dependency injection

make sure to await

Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost
Change-Id: I1ef2bd265b77bdae8ff0c60423fedf9a05878262
parent d933cd2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ pub fn part_out(_attr: TokenStream, item: TokenStream) -> TokenStream {
                    Box::pin(async move {
                        Box::new(async move {
                            registry.get::<#struct_ident>().await.#field_names
                        }) as Box<dyn std::any::Any>
                        }.await) as Box<dyn std::any::Any>
                    })
                })))*
        }