From 2cce1a271b2c8e5b6fc05f98a1a57f2e20ebd82a Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Mon, 15 Mar 2021 13:06:58 -0700 Subject: [PATCH] devices: virtio: video: mark non-Rust code block Indicate that the code block with instructions for running bindgen is not Rust code to avoid this warning: warning: could not parse code block as Rust code BUG=None TEST=cargo doc --all-features Change-Id: I38a9d49487dc1da8e41d3fca5dfa1b8bc8ae5e84 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2762064 Reviewed-by: Zach Reizner Tested-by: kokoro Commit-Queue: Daniel Verkamp --- devices/src/virtio/video/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/src/virtio/video/protocol.rs b/devices/src/virtio/video/protocol.rs index fb574a4f0a..ec03f8c128 100644 --- a/devices/src/virtio/video/protocol.rs +++ b/devices/src/virtio/video/protocol.rs @@ -4,7 +4,7 @@ //! This file was generated by the following commands and modified manually. //! -//! ``` +//! ```shell //! $ bindgen virtio_video.h \ //! --whitelist-type "virtio_video.*" \ //! --whitelist-var "VIRTIO_VIDEO_.*" \