mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
sys_util: Ignore struct_util doc comment
The code in the doc comment didn't compile, fix the missing command. Ignore the snippet because it depends on arch::__IncompleteArrayField, and getting it to compile isn't worth adding a crate dependency. Signed-off-by: Dylan Reid <dgreid@chromium.org> Change-Id: Ibaee50d0d44fbfb9ca2862b1dda220a0a1e5696b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1944097 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
1a5fe95471
commit
38b9ad8620
1 changed files with 2 additions and 2 deletions
|
@ -18,10 +18,10 @@ fn vec_with_size_in_bytes<T: Default>(size_in_bytes: usize) -> Vec<T> {
|
|||
|
||||
/// The kvm API has many structs that resemble the following `Foo` structure:
|
||||
///
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// #[repr(C)]
|
||||
/// struct Foo {
|
||||
/// some_data: u32
|
||||
/// some_data: u32,
|
||||
/// entries: __IncompleteArrayField<__u32>,
|
||||
/// }
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue