File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1465,17 +1465,17 @@ impl CountTableDims {
14651465 Ok ( ( Value :: Number ( num_rows as f64 ) , Value :: Number ( num_cols as f64 ) ) )
14661466 }
14671467
1468- fn evaluate < ' c , ' d > ( fn_name : & str ,
1468+ fn evaluate < ' d > ( fn_name : & str ,
14691469 args : Vec < Value < ' d > > ) -> Result < ( Value < ' d > , Value < ' d > ) , Error > {
14701470 let mut args = Args ( args) ;
14711471 args. exactly ( 1 ) ?;
14721472 let element = args. pop_nodeset ( ) ?;
14731473 let node = validate_one_node ( element, fn_name) ?;
14741474 if let Node :: Element ( e) = node {
1475- return Ok ( Self :: count_table_dims ( e) ? ) ;
1475+ return Self :: count_table_dims ( e) ;
14761476 }
14771477
1478- Err ( Error :: Other ( format ! ( "couldn't count table rows" ) ) )
1478+ Err ( Error :: Other ( "couldn't count table rows" . to_string ( ) ) )
14791479 }
14801480}
14811481
You can’t perform that action at this time.
0 commit comments