Fix doc of desired_targets (#337)

This commit is contained in:
Jiahao XU 2022-09-05 01:11:28 +10:00 committed by GitHub
parent 79d4e9b015
commit 89869db239
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -43,8 +43,7 @@ impl DesiredTargets {
}
}
/// If opts_targets is `Some`, then it will be parsed in the format of
/// `$target1,$target2,...`.
/// If opts_targets is `Some`, then it will be used.
/// Otherwise, call `detect_targets` using `tokio::spawn` to detect targets.
///
/// Since `detect_targets` internally spawns a process and wait for it,