lang: Don't build example docs code

This commit is contained in:
Armani Ferrante 2021-02-06 16:38:17 +08:00
parent 48b27e6943
commit c643438753
No known key found for this signature in database
GPG Key ID: D597A80BCF8E12B7
3 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -13,7 +13,7 @@ use syn::parse_macro_input;
///
/// # Example
///
/// ```
/// ```ignore
/// use anchor_lang::prelude::*;
///
/// #[program]

View File

@ -11,7 +11,7 @@ use syn::parse_macro_input;
///
/// # Example
///
/// ```
/// ```ignore
/// #[derive(Accounts)]
/// pub struct Auth<'info> {
/// #[account(mut, has_one = authority)]