mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Ignore FieldIdx and VariantIdx examples in docs
This commit is contained in:
parent
d517a1cbda
commit
ae1726bfce
@ -498,7 +498,7 @@ pub const RETURN_LOCAL: Local = 0;
|
||||
/// 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 @@ type FieldIdx = usize;
|
||||
/// 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 },
|
||||
|
Loading…
Reference in New Issue
Block a user