diff options
author | Daniel Verkamp <dverkamp@chromium.org> | 2020-04-23 13:31:19 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-26 00:15:39 +0000 |
commit | 93dca2fd9a7d623ea6f69f3b6bcc74fdf9a9371c (patch) | |
tree | 91dc6bf15dbef05f14191377754f5948ffb9f403 /cros_async | |
parent | f75810f7ffcdef9f7c7bd5ebc6f238ad900bccc5 (diff) | |
download | crosvm-93dca2fd9a7d623ea6f69f3b6bcc74fdf9a9371c.tar crosvm-93dca2fd9a7d623ea6f69f3b6bcc74fdf9a9371c.tar.gz crosvm-93dca2fd9a7d623ea6f69f3b6bcc74fdf9a9371c.tar.bz2 crosvm-93dca2fd9a7d623ea6f69f3b6bcc74fdf9a9371c.tar.lz crosvm-93dca2fd9a7d623ea6f69f3b6bcc74fdf9a9371c.tar.xz crosvm-93dca2fd9a7d623ea6f69f3b6bcc74fdf9a9371c.tar.zst crosvm-93dca2fd9a7d623ea6f69f3b6bcc74fdf9a9371c.zip |
cros_async: remove rustdoc inside macro
Fixes clippy 1.43.0 "error: unused doc comment" ("rustdoc does not generate documentation for macros"). BUG=None TEST=bin/clippy Change-Id: If6b2d7bb3fb2752394faa7131fb306869aaa5a56 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2163785 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Diffstat (limited to 'cros_async')
-rw-r--r-- | cros_async/src/complete.rs | 1 | ||||
-rw-r--r-- | cros_async/src/select.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/cros_async/src/complete.rs b/cros_async/src/complete.rs index 8455066..f29f4e8 100644 --- a/cros_async/src/complete.rs +++ b/cros_async/src/complete.rs @@ -21,7 +21,6 @@ macro_rules! generate { $(#[$doc:meta])* ($Complete:ident, <$($Fut:ident),*>), )*) => ($( - $(#[$doc])* #[must_use = "Combinations of futures don't do anything unless run in an executor."] paste::item! { pub(crate) struct $Complete<$($Fut: Future + Unpin),*> { diff --git a/cros_async/src/select.rs b/cros_async/src/select.rs index 8eef317..28907c7 100644 --- a/cros_async/src/select.rs +++ b/cros_async/src/select.rs @@ -26,7 +26,6 @@ macro_rules! generate { $(#[$doc:meta])* ($Select:ident, <$($Fut:ident),*>), )*) => ($( - $(#[$doc])* #[must_use = "Combinations of futures don't do anything unless run in an executor."] paste::item! { pub(crate) struct $Select<$($Fut: Future + Unpin),*> { |