Skip to content

Commit

Permalink
Remove Sized constraint from Async
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed Dec 7, 2024
1 parent 4e2821e commit 120930e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cgp-async/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ pub use cgp_async_macro::native_async as async_trait;
that the types implementing `Async` must not contain any lifetime
parameter.
*/
pub trait Async: Sized + Send + Sync + 'static {}
pub trait Async: Send + Sync + 'static {}

impl<A> Async for A where A: Sized + Send + Sync + 'static {}
impl<A> Async for A where A: Send + Sync + 'static {}

0 comments on commit 120930e

Please sign in to comment.