summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-10-21 14:00:45 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-10-21 14:00:45 -0400
commitbf2a10ca3b54ac3ed3dcc9c25cb1cf7f07ba8135 (patch)
tree632db87bfa81c29575dfdb7834b44c0226a34248 /src/lib.rs
parent09e55694247f1a9494374e99574cc65bace706e7 (diff)
downloadacap-bf2a10ca3b54ac3ed3dcc9c25cb1cf7f07ba8135.tar.xz
Add explicit '_ lifetimes to generic types
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;