Fix clippy::let_and_return
This commit is contained in:
@@ -73,7 +73,6 @@
|
||||
clippy::type_complexity,
|
||||
clippy::needless_lifetimes,
|
||||
clippy::too_many_arguments,
|
||||
clippy::let_and_return,
|
||||
clippy::many_single_char_names
|
||||
)]
|
||||
/// Various algorithms and helper methods that are used elsewhere in SmartCore
|
||||
|
||||
@@ -29,8 +29,7 @@ impl<T: RealNumber> BaseVector<T> for Vec<T> {
|
||||
}
|
||||
|
||||
fn to_vec(&self) -> Vec<T> {
|
||||
let v = self.clone();
|
||||
v
|
||||
self.clone()
|
||||
}
|
||||
|
||||
fn zeros(len: usize) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user