Skip to content

Commit 9b82380

Browse files
committed
feat: remove Sized bounds
1 parent 0d441cd commit 9b82380

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

concurrency/src/tasks/gen_server.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ pub enum InitResult<G: GenServer> {
135135
}
136136

137137
pub trait GenServer: Send + Sized {
138-
type CallMsg: Send + Sized;
139-
type CastMsg: Send + Sized;
140-
type OutMsg: Send + Sized;
138+
type CallMsg: Send;
139+
type CastMsg: Send;
140+
type OutMsg: Send;
141141
type Error: Debug + Send;
142142

143143
fn start(self) -> GenServerHandle<Self> {

0 commit comments

Comments
 (0)