Skip to content

Commit f45d70c

Browse files
committed
Improve docstring
1 parent bf69c30 commit f45d70c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: vzdv/src/vatusa.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,10 @@ pub async fn get_controller_info(cid: u32, api_key: Option<&str>) -> Result<Rost
181181
Ok(data.data)
182182
}
183183

184-
/// Get multiple controller info documents.
184+
/// Get multiple controller info documents at the same time.
185+
///
186+
/// Instead of returning errors, this function simply omits info
187+
/// from any request that failed.
185188
pub async fn get_multiple_controller_info(cids: &[u32]) -> Vec<RosterMember> {
186189
let mut set = JoinSet::new();
187190
for &cid in cids {

0 commit comments

Comments
 (0)