mirror of
https://github.com/Noratrieb/stuff.git
synced 2026-01-14 16:35:08 +01:00
More cleanups
This commit is contained in:
parent
fab8d6aa68
commit
ed67aa4a9b
1 changed files with 1 additions and 5 deletions
|
|
@ -2,10 +2,6 @@
|
||||||
#![warn(rust_2018_idioms)]
|
#![warn(rust_2018_idioms)]
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
#![deny(clippy::undocumented_unsafe_blocks)]
|
#![deny(clippy::undocumented_unsafe_blocks)]
|
||||||
// deny the fuzzy provenance casts during tests
|
|
||||||
// this makes `cargo test` require nightly but i don't care
|
|
||||||
#![cfg_attr(test, feature(strict_provenance))]
|
|
||||||
#![cfg_attr(test, deny(fuzzy_provenance_casts))]
|
|
||||||
|
|
||||||
//! A crate for stuffing things into a pointer.
|
//! A crate for stuffing things into a pointer.
|
||||||
//!
|
//!
|
||||||
|
|
@ -283,7 +279,7 @@ mod either {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case, clippy::undocumented_unsafe_blocks)]
|
||||||
|
|
||||||
use std::{boxed::Box, format, println};
|
use std::{boxed::Box, format, println};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue