File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -343,11 +343,7 @@ where
343343 ///
344344 /// The item is found in **O(1)** thanks to the hash table.
345345 /// The operation is performed in **O(log(N))** time.
346- pub fn change_priority < Q > (
347- & mut self ,
348- item : & Q ,
349- mut new_priority : P ,
350- ) -> Option < ( P , Position ) >
346+ pub fn change_priority < Q > ( & mut self , item : & Q , mut new_priority : P ) -> Option < ( P , Position ) >
351347 where
352348 I : Borrow < Q > ,
353349 Q : Eq + Hash + ?Sized ,
@@ -363,11 +359,7 @@ where
363359 /// Change the priority of an Item using the provided function.
364360 /// The item is found in **O(1)** thanks to the hash table.
365361 /// The operation is performed in **O(log(N))** time (worst case).
366- pub fn change_priority_by < Q , F > (
367- & mut self ,
368- item : & Q ,
369- priority_setter : F ,
370- ) -> Option < Position >
362+ pub fn change_priority_by < Q , F > ( & mut self , item : & Q , priority_setter : F ) -> Option < Position >
371363 where
372364 I : Borrow < Q > ,
373365 Q : Eq + Hash + ?Sized ,
You can’t perform that action at this time.
0 commit comments