From bc0f18cae7065fee871a4d73583e7893b0d78715 Mon Sep 17 00:00:00 2001 From: Evan Relf Date: Tue, 5 Dec 2023 14:20:38 -0800 Subject: [PATCH] Derive `Clone` for `Compat` --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 1c18cfb..88def9e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -196,6 +196,7 @@ impl CompatExt for T { pin_project! { /// Compatibility adapter for futures and I/O types. + #[derive(Clone)] pub struct Compat { #[pin] inner: Option,