Fix doc of desired_targets ()

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
crates/detect-targets/src

View file

@ -10,8 +10,8 @@
//! - [`detect_targets`] provides the API to get the target
//! at runtime, but the code is run on the current thread.
//! - [`get_desired_targets`] provides the API to either
//! parse `$target1,$target2,...` override provided by the users,
//! or run [`detect_targets`] in the background using [`tokio::spawn`].
//! use override provided by the users, or run [`detect_targets`]
//! in the background using [`tokio::spawn`].
//!
//! # Example
//!