Ignore FieldIdx and VariantIdx examples in docs

This commit is contained in:
Kirby Linvill 2023-11-10 17:18:59 -07:00
parent d517a1cbda
commit ae1726bfce
No known key found for this signature in database
GPG Key ID: E304CE3F028E6E3F

View File

@ -498,7 +498,7 @@ pub struct UserTypeProjection {
/// The source-order index of a field in a variant.
///
/// For example, in the following types,
/// ```rust
/// ```ignore(illustrative)
/// enum Demo1 {
/// Variant0 { a: bool, b: i32 },
/// Variant1 { c: u8, d: u64 },
@ -514,7 +514,7 @@ pub struct UserTypeProjection {
/// The source-order index of a variant in a type.
///
/// For example, in the following types,
/// ```rust
/// ```ignore(illustrative)
/// enum Demo1 {
/// Variant0 { a: bool, b: i32 },
/// Variant1 { c: u8, d: u64 },