From 3485e12641ca908dc5a21c75b3a6773d126c6542 Mon Sep 17 00:00:00 2001 From: Acrimon Date: Wed, 10 Jun 2020 01:34:23 +0200 Subject: [PATCH] Turned on some lints and fixed crate docs. --- src/lib.rs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 9c03df85..0a22a97b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,10 +1,18 @@ #![allow(unused_unsafe)] +#![warn(missing_docs)] +#![deny(clippy::correctness)] +#![warn(clippy::style)] +#![warn(clippy::complexity)] +#![warn(clippy::perf)] +#![warn(clippy::pedantic)] +#![warn(clippy::cargo)] + +//! `dashmap` provides a relatively low level high performance concurrent hash map. +//! See struct level docs for more details. +//! +//! Serde is supported if the `serde` feature is enabled. +//! Then `DashMap` will implement `Serialize` and `Deserialize`. -///! `dashmap` provides a relatively low level high performance concurrent hash map. -///! See struct level docs for more details. -///! -///! Serde is supported if the `serde` feature is enabled. -///! Then `DashMap` will implement `Serialize` and `Deserialize`. mod alloc; mod element; mod iter_shim;