Tell cargo test to ignore pseudocode in gfx_select macro docs.

This commit is contained in:
Jim Blandy authored and Dzmitry Malyshau committed 2022-03-31 22:59:11 -07:00
1 parent 44dafd3b4d
commit 85e5c36b68
1 file changed
+4
+4
View File
@@ -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,