Ignore FieldIdx and VariantIdx examples in docs
This commit is contained in:
parent
d517a1cbda
commit
ae1726bfce
@ -498,7 +498,7 @@ pub struct UserTypeProjection {
|
|||||||
/// The source-order index of a field in a variant.
|
/// The source-order index of a field in a variant.
|
||||||
///
|
///
|
||||||
/// For example, in the following types,
|
/// For example, in the following types,
|
||||||
/// ```rust
|
/// ```ignore(illustrative)
|
||||||
/// enum Demo1 {
|
/// enum Demo1 {
|
||||||
/// Variant0 { a: bool, b: i32 },
|
/// Variant0 { a: bool, b: i32 },
|
||||||
/// Variant1 { c: u8, d: u64 },
|
/// Variant1 { c: u8, d: u64 },
|
||||||
@ -514,7 +514,7 @@ pub struct UserTypeProjection {
|
|||||||
/// The source-order index of a variant in a type.
|
/// The source-order index of a variant in a type.
|
||||||
///
|
///
|
||||||
/// For example, in the following types,
|
/// For example, in the following types,
|
||||||
/// ```rust
|
/// ```ignore(illustrative)
|
||||||
/// enum Demo1 {
|
/// enum Demo1 {
|
||||||
/// Variant0 { a: bool, b: i32 },
|
/// Variant0 { a: bool, b: i32 },
|
||||||
/// Variant1 { c: u8, d: u64 },
|
/// Variant1 { c: u8, d: u64 },
|
||||||
|
Loading…
Reference in New Issue
Block a user