Skip to content

Commit aef8c14

Browse files
clippy
1 parent 8d178bd commit aef8c14

File tree

1 file changed

+1
-3
lines changed
  • near-sdk/src/environment

1 file changed

+1
-3
lines changed

near-sdk/src/environment/env.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ pub fn promise_and(promise_indices: &[PromiseIndex]) -> PromiseIndex {
892892
/// ```ignore
893893
/// let target_account = "example.near".to_string();
894894
/// let promise_index = env::promise_batch_create(&target_account);
895-
895+
///
896896
/// // Adding actions to the promise
897897
/// env::promise_batch_action_transfer(promise_index, 10u128); // Transfer 10 NEAR
898898
/// env::promise_batch_action_function_call(
@@ -1158,7 +1158,6 @@ pub fn promise_batch_action_stake(
11581158
/// Attach promise action that adds a full access key to the NEAR promise index with the provided promise index.
11591159
///
11601160
/// More info about batching [here](crate::env::promise_batch_create)
1161-
11621161
/// # Examples
11631162
/// ```
11641163
/// use near_sdk::env::{promise_batch_action_add_key_with_full_access, promise_batch_create};
@@ -1320,7 +1319,6 @@ pub fn promise_batch_action_add_key_allowance_with_function_call(
13201319
/// Attach promise action that deletes the key to the NEAR promise index with the provided promise index.
13211320
///
13221321
/// More info about batching [here](crate::env::promise_batch_create)
1323-
13241322
/// # Examples
13251323
/// ```
13261324
/// use near_sdk::env::{promise_batch_action_delete_key, promise_batch_create};

0 commit comments

Comments
 (0)