File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ macro_rules! define_error {
3333 self . inner. name( )
3434 }
3535
36- fn cause( & self ) -> Option <& Fail > {
36+ fn cause( & self ) -> Option <& dyn Fail > {
3737 self . inner. cause( )
3838 }
3939
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ impl Aligner {
301301
302302 pub fn align_with_splits (
303303 & self ,
304- mut progress_handler_opt : Option < Box < ProgressHandler > > ,
304+ mut progress_handler_opt : Option < Box < dyn ProgressHandler > > ,
305305 nopsplit_bonus_normalized : f64 ,
306306 speed_optimization_opt : Option < f64 > ,
307307 ) -> Vec < TimeDelta > {
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ use std::vec::from_elem;
5656pub fn align_nosplit (
5757 list : Vec < TimeSpan > ,
5858 reference : Vec < TimeSpan > ,
59- mut progress_handler_opt : Option < Box < ProgressHandler > > ,
59+ mut progress_handler_opt : Option < Box < dyn ProgressHandler > > ,
6060 statistics_opt : Option < Statistics > ,
6161) -> TimeDelta {
6262 if let Some ( p) = progress_handler_opt. as_mut ( ) {
@@ -103,7 +103,7 @@ pub fn align(
103103 reference : Vec < TimeSpan > ,
104104 split_penalty_normalized : f64 ,
105105 speed_optimization : Option < f64 > ,
106- progress_handler_opt : Option < Box < ProgressHandler > > ,
106+ progress_handler_opt : Option < Box < dyn ProgressHandler > > ,
107107 statistics_opt : Option < Statistics > ,
108108) -> Vec < TimeDelta > {
109109 let ( list_nonoverlapping, list_indices) = prepare_time_spans ( list. clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments