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