mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 08:51:05 +01:00
Tell cargo test to ignore pseudocode in gfx_select macro docs.
This commit is contained in:
1 parent
44dafd3b4d
commit
85e5c36b68
1 file changed
+4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user