Fix clippy warnings (#139)

Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
This commit is contained in:
morenol
2022-07-13 21:06:05 -04:00
committed by GitHub
parent b4a807eb9f
commit b482acdc8d
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ pub struct HeapSelection<T: PartialOrd + Debug> {
heap: Vec<T>,
}
impl<'a, T: PartialOrd + Debug> HeapSelection<T> {
impl<T: PartialOrd + Debug> HeapSelection<T> {
pub fn with_capacity(k: usize) -> HeapSelection<T> {
HeapSelection {
k,