Skip to content

Commit

Permalink
Remove useless unsafe impl {Send, Sync} (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin authored Jun 12, 2024
1 parent a6a5f9a commit f5d167c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/grammers-mtsender/src/reconnection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,3 @@ impl ReconnectionPolicy for NoReconnect {
ControlFlow::Break(())
}
}

unsafe impl Send for NoReconnect {}

unsafe impl Sync for NoReconnect {}

unsafe impl Send for FixedReconnect {}

unsafe impl Sync for FixedReconnect {}

0 comments on commit f5d167c

Please sign in to comment.