Browse Source

Remove unnecessary `unsafe impl Send` from actix (#5290)

Konrad Borowski 5 years ago
parent
commit
969fc6625e
1 changed files with 0 additions and 2 deletions
  1. 0 2
      frameworks/Rust/actix/src/db.rs

+ 0 - 2
frameworks/Rust/actix/src/db.rs

@@ -14,8 +14,6 @@ pub struct DbExecutor {
     rng: ThreadRng,
 }
 
-unsafe impl Send for DbExecutor {}
-
 impl Actor for DbExecutor {
     type Context = SyncContext<Self>;
 }