Skip to content

Commit

Permalink
fix(http): make trait extends Send + Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
leroyguillaume committed Dec 1, 2023
1 parent 458bb5f commit 3c1d030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub struct HttpRequest {
///
/// [Example](https://github.com/leroyguillaume/mockable/tree/main/examples/http.rs).
#[async_trait]
pub trait HttpServer {
pub trait HttpServer: Send + Sync {
/// Returns the next request received by the server.
///
/// `None` is returned if the server is stopped.
Expand Down

0 comments on commit 3c1d030

Please sign in to comment.