Skip to content

Commit 39fd099

Browse files
committed
silence improper_ctypes warning
This is actually a false positive, as the structs are only exposed to FFI as pointers, so they are effectively opaque from the non-Rust perspective The warning showed up in nightly after the following PR was merged: rust-lang/rust#65134
1 parent d2392bf commit 39fd099

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@
230230
//! [`stream_recv()`]: struct.Connection.html#method.stream_recv
231231
//! [HTTP/3 module]: h3/index.html
232232
233+
#![allow(improper_ctypes)]
233234
#![warn(missing_docs)]
234235

235236
#[macro_use]

0 commit comments

Comments
 (0)