mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
cros_async: fix unknown function warning in docs
Specify the type so cargo doc can find the right async_from function. Fixes a warning when running tools/cargo-doc. BUG=None TEST=tools/cargo-doc Change-Id: Ida4431cd663d4b5959a58a707c9c89d7569df986 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3764043 Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
0a5f9fc411
commit
84c58c7958
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ impl Executor {
|
|||
}
|
||||
}
|
||||
|
||||
/// Same as [`async_from`], but without the `Send` requirement and only usable on thread-local
|
||||
/// Same as [`Executor::async_from()`], but without the `Send` requirement and only usable on thread-local
|
||||
/// executors.
|
||||
pub fn async_from_local<'a, F: IntoAsync + 'a>(
|
||||
&self,
|
||||
|
|
Loading…
Reference in a new issue