mirror of
https://github.com/kmc7468/cs220.git
synced 2026-11-04 00:00:33 +09:00
Fix clippy error
This commit is contained in:
1 parent
b8cf4a96d0
commit
df9965e46e
1 file changed
+2
@@ -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