Skip to content

Commit ddcb564

Browse files
committed
Silence buggy improper_ctypes warning
1 parent d2458fd commit ddcb564

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

keyutils-raw/src/functions.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626

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

29+
// Remove when rust-lang/rust#60300 is in stable
30+
#[allow(improper_ctypes)]
31+
2932
#[rustfmt::skip]
3033
extern "C" {
3134
pub fn add_key(

0 commit comments

Comments
 (0)