base: event: remove obsolete comments to fix cargo doc

The platform event types are now private, and their methods are exposed
through the base Event type, so remove that comment that triggers a
warning with `cargo doc`.

TEST=`cargo doc` does not warn about this line.

Change-Id: I4577a194582dddaa2536541247807fc4cd1eea06
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3932438
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Auto-Submit: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
Alexandre Courbot 2022-10-04 15:33:30 +09:00 committed by crosvm LUCI
parent 4c372205c6
commit 7186bc7bb8

View file

@ -24,9 +24,6 @@ pub enum EventReadResult {
Timeout, Timeout,
} }
/// See the [platform-specific Event struct](crate::platform::Event) for struct- and method-level
/// documentation.
// TODO(b:231344063) Move/update documentation.
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)] #[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
#[serde(transparent)] #[serde(transparent)]
pub struct Event(pub(crate) PlatformEvent); pub struct Event(pub(crate) PlatformEvent);