Skip to content

Commit

Permalink
silence improper_ctypes warning
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ghedo committed Nov 7, 2019
1 parent d2392bf commit c217225
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
//! [`stream_recv()`]: struct.Connection.html#method.stream_recv
//! [HTTP/3 module]: h3/index.html

#![allow(improper_ctypes)]
#![warn(missing_docs)]

#[macro_use]
Expand Down

0 comments on commit c217225

Please sign in to comment.