Skip to content

Commit

Permalink
Tell cargo test to ignore pseudocode in gfx_select macro docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimblandy authored and kvark committed Apr 1, 2022
1 parent 44dafd3 commit 85e5c36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wgpu-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 85e5c36

Please sign in to comment.