1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 17:07:01 +02:00

remove some unsafe code

This commit is contained in:
Nikolay Kim
2018-06-19 07:44:01 +06:00
parent 68cd5bdf68
commit 261ad31b9a
10 changed files with 64 additions and 87 deletions

View File

@@ -203,7 +203,6 @@ impl<T> Node<T> {
}
fn insert<I>(&self, next: &Node<I>) {
#[allow(mutable_transmutes)]
unsafe {
if let Some(ref next2) = self.next {
let n: &mut Node<()> =