Skip to content

Commit

Permalink
chore(lib): allow deprecated mem::uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jul 8, 2019
1 parent 3446af0 commit 3e2f19e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/proto/h1/role.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// `mem::uninitialized` replaced with `mem::MaybeUninit`,
// can't upgrade yet
#![allow(deprecated)]

use std::fmt::{self, Write};
use std::mem;

Expand Down

0 comments on commit 3e2f19e

Please sign in to comment.