Fix clippy warnings (#139)
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user