mirror of
https://github.com/kmc7468/cs220.git
synced 2025-12-12 21:08:45 +00:00
Fix clippy error
This commit is contained in:
@@ -127,6 +127,7 @@ pub fn du_sort(root: &File) -> Vec<(&str, usize)> {
|
||||
/// remove_even(&mut vec);
|
||||
/// assert_eq!(*vec, vec![1, 3, 5]);
|
||||
/// ```
|
||||
#[allow(clippy::ptr_arg)]
|
||||
pub fn remove_even(inner: &mut Vec<i64>) {
|
||||
todo!()
|
||||
}
|
||||
@@ -143,6 +144,7 @@ pub fn remove_even(inner: &mut Vec<i64>) {
|
||||
/// remove_duplicate(&mut vec);
|
||||
/// assert_eq!(*vec, vec![1, 2, 3, 7, 5]);
|
||||
/// ```
|
||||
#[allow(clippy::ptr_arg)]
|
||||
pub fn remove_duplicate(inner: &mut Vec<i64>) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user