Sha256: bff794222d9324241155568d541e7beac0238b66ce14039b242d4392f4e531b6
Contents?: true
Size: 425 Bytes
Versions: 39
Compression:
Stored size: 425 Bytes
Contents
// https://github.com/rust-lang/rust/issues/93828 use async_trait::async_trait; pub trait IntoUrl {} #[async_trait] pub trait ClientExt { async fn publish<T: IntoUrl>(&self, url: T); } struct Client; #[async_trait] impl ClientExt for Client { async fn publish<T: IntoUrl>(&self, url: T) {} } struct Client2; #[async_trait] impl ClientExt for Client2 { async fn publish<T>(&self, url: T) {} } fn main() {}
Version data entries
39 entries across 39 versions & 1 rubygems