Skip to content

Commit

Permalink
Silence buggy improper_ctypes warning
Browse files Browse the repository at this point in the history
  • Loading branch information
josephlr committed Jun 28, 2019
1 parent d2458fd commit f4c867d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keyutils-raw/src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@

use crate::{KeyPermissions, KeyringSerial, TimeoutSeconds};

// TODO: Remove when rust-lang/rust#60300 is in stable
#[allow(improper_ctypes)]

#[rustfmt::skip]
extern "C" {
pub fn add_key(
Expand Down

0 comments on commit f4c867d

Please sign in to comment.