Skip to content

Commit 53f29ce

Browse files
committed
drop last unsafe call
1 parent 8b51749 commit 53f29ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ impl<S: Unpin> SslStream<S> {
228228
where
229229
F: FnOnce(&mut ssl::SslStream<StreamWrapper<S>>) -> R,
230230
{
231-
let this = unsafe { self.get_unchecked_mut() };
231+
let this = self.get_mut();
232232
this.0.get_mut().waker = ctx.waker().clone();
233233
f(&mut this.0)
234234
}

0 commit comments

Comments
 (0)