From 85e5c36b6878ee5c00e99c32881c9f5ddbcb93f2 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 30 Mar 2022 22:34:23 -0700 Subject: [PATCH] Tell `cargo test` to ignore pseudocode in gfx_select macro docs. --- wgpu-core/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wgpu-core/src/lib.rs b/wgpu-core/src/lib.rs index 84922e6b3..e3036ad0f 100644 --- a/wgpu-core/src/lib.rs +++ b/wgpu-core/src/lib.rs @@ -238,8 +238,12 @@ platform supports."; /// /// Uses of this macro have the form: /// +/// ```ignore +/// /// gfx_select!(id => global.method(args...)) /// +/// ``` +/// /// where `id` is some [`id::Id`] resource id, `global` is a [`hub::Global`], /// and `method` is any method on [`Global`] that takes a single generic /// parameter that implements [`hal::Api`] (for example,