Skip to content

Commit

Permalink
comment: resolves #1313 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Feb 25, 2025
1 parent 6645e75 commit 8f9991e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions near-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,9 @@ extern crate quickcheck;
/// In the example:
/// - lower level [`env::promise_create`], [`env::promise_then`] and [`env::promise_return`] are used in
/// `factorial` method to set up a callback of `factorial_mult` with result of factorial for `(n-1)`
/// - [`#[private]`](near#private-annotates-methods-of-a-type-in-its-impl-block) on `factorial_mult` is used to
/// to allow only calling `factorial_mult` from factorial contract method by `CrossContract` itself
/// and disallow for it to be called externally by users
///
/// ```rust
/// use near_sdk::{near, env, log, NearToken, Gas};
Expand Down

0 comments on commit 8f9991e

Please sign in to comment.