Skip to content

Commit

Permalink
feat: drop unneeded constraints on associated type
Browse files Browse the repository at this point in the history
  • Loading branch information
c-git committed Dec 13, 2024
1 parent fea4468 commit 03b79e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/wykies-server/src/plugin.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::{db_types::DbPool, ServerTask, WebSocketSettings};
use serde::de::DeserializeOwned;
use std::sync::Arc;
use tracked_cancellations::TrackedCancellationToken;

Expand All @@ -12,7 +11,7 @@ where
}

pub trait ServerPlugin {
type Config: DeserializeOwned + Clone;
type Config;
type Task: ServerTask;
type Handle: Send;

Expand Down

0 comments on commit 03b79e7

Please sign in to comment.