summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1e77f6b..29d351a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -122,6 +122,8 @@
//! [`k_nearest_within()`]: knn::NearestNeighbors#method.k_nearest_within
//! [`ExactNeighbors`]: knn::ExactNeighbors
+#![warn(rust_2018_idioms)]
+
pub mod chebyshev;
pub mod coords;
pub mod cos;