Sha256: 7199aba887dd0a8a14c86ec16542a73a70244930f8202940f43e40a62f72d200
Contents?: true
Size: 517 Bytes
Versions: 38
Compression:
Stored size: 517 Bytes
Contents
use async_trait::async_trait; pub struct Struct; #[async_trait] pub trait Trait { async fn f((_a, _b): (Struct, Struct)) { // Expands to something like: // // fn f(__arg0: (Struct, Struct)) -> … { // Box::pin(async move { // let (_a, _b) = __arg0; // … // }) // } // // but user's code must not be allowed to name that temporary argument: let _ = __arg0; } } fn main() {}
Version data entries
38 entries across 38 versions & 1 rubygems