Skip to content

Commit f9fa937

Browse files
committed
Use proper doc comments for get_bootstrap and get_bootstrap_by_crate
1 parent ee8ce07 commit f9fa937

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

database/src/pool.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,21 @@ pub trait Connection: Send + Sync {
6767
krate: &str,
6868
value: Duration,
6969
);
70-
// Returns vector of bootstrap build times for the given artifacts. The kth
71-
// element is the minimum build time for the kth artifact in `aids`, across
72-
// all collections for the artifact, or none if there is no bootstrap data
73-
// for that artifact (for example, because the rustc benchmark wasn't
74-
// executed for that artifact).
70+
/// Returns vector of bootstrap build times for the given artifacts. The kth
71+
/// element is the minimum build time for the kth artifact in `aids`, across
72+
/// all collections for the artifact, or none if there is no bootstrap data
73+
/// for that artifact (for example, because the rustc benchmark wasn't
74+
/// executed for that artifact).
7575
async fn get_bootstrap(&self, aids: &[ArtifactIdNumber]) -> Vec<Option<Duration>>;
76-
// Returns map from rustc crate name to vector of build times for that crate
77-
// for the given artifacts. Within a crate's corresponding vector, the kth
78-
// element is the minimum build time for the kth artifact in `aids`, across
79-
// all collections for the artifact, or none if there is no data for that
80-
// artifact / crate combination (for example, because that rustc crate
81-
// wasn't present when building rustc with that artifact, or because the
82-
// rustc benchmark wasn't executed for that artifact). A crate will not be
83-
// included as a key in the map unless at least one artifact in `aids` has a
84-
// build time for it.
76+
/// Returns map from rustc crate name to vector of build times for that crate
77+
/// for the given artifacts. Within a crate's corresponding vector, the kth
78+
/// element is the minimum build time for the kth artifact in `aids`, across
79+
/// all collections for the artifact, or none if there is no data for that
80+
/// artifact / crate combination (for example, because that rustc crate
81+
/// wasn't present when building rustc with that artifact, or because the
82+
/// rustc benchmark wasn't executed for that artifact). A crate will not be
83+
/// included as a key in the map unless at least one artifact in `aids` has a
84+
/// build time for it.
8585
async fn get_bootstrap_by_crate(
8686
&self,
8787
aids: &[ArtifactIdNumber],

0 commit comments

Comments
 (0)