diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-09-23 19:17:16 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-09-23 19:17:16 -0400 |
commit | 0cd015222e80497c823fc0eadc8f55c45860bade (patch) | |
tree | faf7f729454b299783b4b62733d84eabf32bfb3e /src/lib.rs | |
parent | 055e326906a7d5519cf28f37b6ec17ecbac8bdad (diff) | |
download | vt100-rust-0cd015222e80497c823fc0eadc8f55c45860bade.tar.gz vt100-rust-0cd015222e80497c823fc0eadc8f55c45860bade.zip |
clippy
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +#![cfg_attr(feature = "cargo-clippy", feature(tool_lints))] +// we use empty enums to represent opaque c pointers, but we don't have a way +// to indicate that those pointers do actually have additional alignment +// restrictions, so casting them to their prefixes is actually safe +#![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_ptr_alignment))] + extern crate libc; mod cell; |