Skip to content

Commit

Permalink
ignore to no_run
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyProgrammist committed Dec 27, 2024
1 parent 22e4098 commit c63918d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion near-sdk/src/environment/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ pub fn promise_and(promise_indices: &[PromiseIndex]) -> PromiseIndex {
/// Create a NEAR promise which will have multiple promise actions inside.
///
/// Example:
/// ```ignore
/// ```no_run
/// let target_account = "example.near".to_string();
/// let promise_index = env::promise_batch_create(&target_account);
///
Expand Down
2 changes: 1 addition & 1 deletion near-sdk/src/json_types/vector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl From<Base64VecU8> for Vec<u8> {
/// Convenience module to allow anotating a serde structure as base64 bytes.
///
/// # Example
/// ```ignore
/// ```no_run
/// use serde::{Serialize, Deserialize};
/// use near_sdk::json_types::base64_bytes;
///
Expand Down
2 changes: 1 addition & 1 deletion near-sdk/src/types/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/// with `#[handle_result]` has to implement this trait.
///
/// Example:
/// ```ignore
/// ```no_run
/// use near_sdk::{FunctionError, near};
///
/// enum Error {
Expand Down
2 changes: 1 addition & 1 deletion near-sdk/src/types/vm_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub use near_vm_runner::logic::types::{PromiseResult as VmPromiseResult, ReturnD
/// Promise index that is computed only once. It is an internal index that identifies a specific promise (or a sequence of promises) created during the execution of a smart contract.
/// Returned by [`promise_create`](crate::env::promise_create) and can be used to refer this promise in `promise_then`, `promise_batch_create`, and other functions.
/// Example:
/// ```ignore
/// ```no_run
/// let promise_id = env::promise_create("a.near", "new", b"{}", 0, 1_000_000_000_000);
/// env::promise_then(promise_id, "b.near", "callback", b"{}", 0, 1_000_000_000_000);
/// ```
Expand Down

0 comments on commit c63918d

Please sign in to comment.