Skip to content

Commit

Permalink
Derive Clone for Compat
Browse files Browse the repository at this point in the history
  • Loading branch information
evanrelf authored and notgull committed Jun 1, 2024
1 parent bbf268f commit ea1d509
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ impl<T> CompatExt for T {

pin_project! {
/// Compatibility adapter for futures and I/O types.
#[derive(Clone)]
pub struct Compat<T> {
#[pin]
inner: Option<T>,
Expand Down

0 comments on commit ea1d509

Please sign in to comment.