Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyProgrammist committed Dec 28, 2024
1 parent f0c05da commit 8e16e83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions near-sdk/src/environment/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ pub fn promise_and(promise_indices: &[PromiseIndex]) -> PromiseIndex {

/// # Examples
/// ```
///
///
/// use near_sdk::AccountId;
/// use std::str::FromStr;
///
Expand All @@ -891,7 +891,7 @@ pub fn promise_and(promise_indices: &[PromiseIndex]) -> PromiseIndex {
/// Example:
/// ```no_run
/// use near_sdk::env;
///
///
/// 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/types/vm_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub use near_vm_runner::logic::types::{PromiseResult as VmPromiseResult, ReturnD
/// Example:
/// ```no_run
/// use near_sdk::env;
///
///
/// 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 8e16e83

Please sign in to comment.