Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ascjones committed Apr 25, 2024
1 parent 75811af commit 8753ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ink/src/message_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/// The macro returns an instance of the generated message builder type which implements
/// the trait, allowing the user to create and invoke messages on the trait.
///
/// This is similar to the call builder syntax accessible via the [`crate::contract_ref`]
/// This is similar to the call builder syntax accessible via the [`crate::contract_ref!`]
/// macro, except that it is decoupled from the callee account id, as well as the
/// underlying execution environment. This allows it to be used in execution contexts
/// other than cross-contract calls.
Expand All @@ -32,7 +32,7 @@
/// - The second argument is the type of the [`ink_env::Environment`].
///
/// If the second argument is not specified, the macro uses the
/// [`ink::env::DefaultEnvironment`].
/// [`ink_env::DefaultEnvironment`].
///
/// ```rust
/// use ink::message_builder;
Expand Down

0 comments on commit 8753ded

Please sign in to comment.