style: move clippy allows to specific lines of code
Signed-off-by: Stephen Waits <steve@waits.net>
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -104,7 +104,6 @@
|
||||
#![deny(clippy::nursery)]
|
||||
#![deny(clippy::unwrap_used)]
|
||||
#![allow(clippy::type_repetition_in_bounds)]
|
||||
#![allow(clippy::module_name_repetitions)]
|
||||
|
||||
mod height_vector;
|
||||
mod vector;
|
||||
|
||||
@@ -63,12 +63,14 @@ pub struct NetworkCoordinate<const N: usize> {
|
||||
///
|
||||
/// This type alias is just for convenience. It's functionally equivalent to
|
||||
/// `NetworkCoordinate<2>`. For more information, see [`NetworkCoordinate`].
|
||||
#[allow(clippy::module_name_repetitions)]
|
||||
pub type NetworkCoordinate2D = NetworkCoordinate<2>;
|
||||
|
||||
/// A 3D [`NetworkCoordinate`]. Includes a 3D Euclidean position and a height.
|
||||
///
|
||||
/// This type alias is just for convenience. It's functionally equivalent to
|
||||
/// `NetworkCoordinate<3>`. For more information, see [`NetworkCoordinate`].
|
||||
#[allow(clippy::module_name_repetitions)]
|
||||
pub type NetworkCoordinate3D = NetworkCoordinate<3>;
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user