File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -504,9 +504,9 @@ pub(crate) async fn get_all_releases(
504
504
. into_canonical_req_version_or_else ( |_| AxumNope :: VersionNotFound ) ?;
505
505
506
506
if matched_release. build_status ( ) != BuildStatus :: Success {
507
- // this handler should only be used for successful builds, so then we have all rows in the
507
+ // This handler should only be used for successful builds, so then we have all rows in the
508
508
// `releases` table filled with data.
509
- // If we at some point need this view for in-progress releases or failed releases, we need
509
+ // If we need this view at some point for in-progress releases or failed releases, we need
510
510
// to handle empty doc targets.
511
511
return Err ( AxumNope :: CrateNotFound ) ;
512
512
}
@@ -640,8 +640,8 @@ pub(crate) async fn get_all_platforms_inner(
640
640
|| krate. default_target . is_none ( )
641
641
|| matched_release. target_name ( ) . is_none ( )
642
642
{
643
- // FIXME: is this really OK? just return an empty platform list in case of
644
- // an early failure?
643
+ // when the build wasn't finished, we don't have any target platforms
644
+ // we could read from.
645
645
return Ok ( PlatformList {
646
646
metadata : ShortMetadata {
647
647
name : params. name ,
You can’t perform that action at this time.
0 commit comments