File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ struct RepositoryMetadata {
8282pub ( crate ) struct Release {
8383 pub id : ReleaseId ,
8484 pub version : semver:: Version ,
85+ #[ allow( clippy:: doc_overindented_list_items) ]
8586 /// Aggregated build status of the release.
8687 /// * no builds -> build In progress
8788 /// * any build is successful -> Success
Original file line number Diff line number Diff line change @@ -194,15 +194,15 @@ mod tests {
194194 let metrics_serialized = metrics. gather ( & env. async_pool ( ) . await ?) ?;
195195 let all_routes_visited = metrics_serialized
196196 . iter ( )
197- . find ( |x| x. get_name ( ) == "docsrs_routes_visited" )
197+ . find ( |x| x. name ( ) == "docsrs_routes_visited" )
198198 . unwrap ( ) ;
199199 let routes_visited_pretty: Vec < _ > = all_routes_visited
200200 . get_metric ( )
201201 . iter ( )
202202 . map ( |metric| {
203203 let labels = metric. get_label ( ) ;
204204 assert_eq ! ( labels. len( ) , 1 ) ; // not sure when this would be false
205- let route = labels[ 0 ] . get_value ( ) ;
205+ let route = labels[ 0 ] . value ( ) ;
206206 let count = metric. get_counter ( ) . get_value ( ) ;
207207 format ! ( "{route}: {count}" )
208208 } )
You can’t perform that action at this time.
0 commit comments