Skip to content

Commit

Permalink
Remove the unneeded unsafe block
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Sep 10, 2019
1 parent e2337d1 commit 3b2dda6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ impl SequenceHeader {}

impl Drop for SequenceHeader {
fn drop(&mut self) {
unsafe {
Arc::get_mut(&mut self.seq).unwrap();
}
Arc::get_mut(&mut self.seq).unwrap();
}
}

0 comments on commit 3b2dda6

Please sign in to comment.