From 860916705364c217433f772bc21e68d313672d7a Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sat, 19 Aug 2023 00:19:42 +0700 Subject: [PATCH] nalgebra-glm: Fix clippy single_component_path_imports. These imports are redundant and not needed. --- nalgebra-glm/src/common.rs | 1 - nalgebra-glm/src/ext/matrix_projection.rs | 2 -- nalgebra-glm/src/gtc/constants.rs | 1 - nalgebra-glm/src/trigonometric.rs | 2 -- 4 files changed, 6 deletions(-) diff --git a/nalgebra-glm/src/common.rs b/nalgebra-glm/src/common.rs index 6ab20371..f6a94aef 100644 --- a/nalgebra-glm/src/common.rs +++ b/nalgebra-glm/src/common.rs @@ -1,5 +1,4 @@ use core::mem; -use na; use crate::aliases::{TMat, TVec}; use crate::traits::Number; diff --git a/nalgebra-glm/src/ext/matrix_projection.rs b/nalgebra-glm/src/ext/matrix_projection.rs index ad925a91..49c3faa5 100644 --- a/nalgebra-glm/src/ext/matrix_projection.rs +++ b/nalgebra-glm/src/ext/matrix_projection.rs @@ -1,5 +1,3 @@ -use na; - use crate::aliases::{TMat4, TVec2, TVec3, TVec4}; use crate::RealNumber; diff --git a/nalgebra-glm/src/gtc/constants.rs b/nalgebra-glm/src/gtc/constants.rs index b08be4a9..6f8f23f0 100644 --- a/nalgebra-glm/src/gtc/constants.rs +++ b/nalgebra-glm/src/gtc/constants.rs @@ -1,5 +1,4 @@ use crate::RealNumber; -use na; /// The Euler constant. /// diff --git a/nalgebra-glm/src/trigonometric.rs b/nalgebra-glm/src/trigonometric.rs index dce45738..597b037e 100644 --- a/nalgebra-glm/src/trigonometric.rs +++ b/nalgebra-glm/src/trigonometric.rs @@ -1,5 +1,3 @@ -use na; - use crate::aliases::TVec; use crate::RealNumber;