lang: Don't build example docs code
This commit is contained in:
parent
48b27e6943
commit
c643438753
|
@ -9,7 +9,7 @@ use syn::parse_macro_input;
|
|||
///
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// use anchor_lang::prelude::*;
|
||||
///
|
||||
/// #[program]
|
||||
|
@ -37,7 +37,6 @@ use syn::parse_macro_input;
|
|||
/// Ok(())
|
||||
/// }
|
||||
/// }
|
||||
/// ...
|
||||
/// ```
|
||||
///
|
||||
/// This example demonstrates a useful pattern. Not only can you use
|
||||
|
|
|
@ -13,7 +13,7 @@ use syn::parse_macro_input;
|
|||
///
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// use anchor_lang::prelude::*;
|
||||
///
|
||||
/// #[program]
|
||||
|
|
|
@ -11,7 +11,7 @@ use syn::parse_macro_input;
|
|||
///
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// #[derive(Accounts)]
|
||||
/// pub struct Auth<'info> {
|
||||
/// #[account(mut, has_one = authority)]
|
||||
|
|
Loading…
Reference in New Issue