Skip to content

Commit

Permalink
WASM => Wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Nov 4, 2024
1 parent afa9252 commit 6c64140
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions soroban-sdk/src/_migrating.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
//! # fn main() {
//! let env = Env::default();
//! let address = env.register(
//! Contract, // πŸ‘ˆ πŸ‘€ The contract being registered, or a WASM `&[u8]`.
//! Contract, // πŸ‘ˆ πŸ‘€ The contract being registered, or a Wasm `&[u8]`.
//! (), // πŸ‘ˆ πŸ‘€ The constructor arguments, or ().
//! );
//! // ..
Expand All @@ -35,7 +35,7 @@
//! ```
//!
//! [`register_at`] registers both native contracts previously registered
//! with [`register_contract`] and WASM contracts previously registered with
//! with [`register_contract`] and Wasm contracts previously registered with
//! [`register_contract_wasm`], and allows setting the address that the
//! contract is registered at. It accepts a tuple that is passed to the
//! contracts constructor. Pass `()` if the contract has no constructor.
Expand All @@ -60,7 +60,7 @@
//! let address = Address::generate(&env);
//! env.register(
//! address, // πŸ‘ˆ πŸ‘€ The address to register the contract at.
//! Contract, // πŸ‘ˆ πŸ‘€ The contract being registered, or a WASM `&[u8]`.
//! Contract, // πŸ‘ˆ πŸ‘€ The contract being registered, or a Wasm `&[u8]`.
//! (), // πŸ‘ˆ πŸ‘€ The constructor arguments, or ().
//! );
//! // ..
Expand Down Expand Up @@ -108,7 +108,7 @@
//! contract.exec(&wasm_hash);
//! }
//! # #[cfg(not(feature = "testutils"))]
//! # fn main() { }
//! # fn main() { }ga
//! ```
//!
//! 2. Deprecated [`fuzz_catch_panic`]. Use [`Env::try_invoke_contract`] and the `try_` client functions instead.
Expand Down

0 comments on commit 6c64140

Please sign in to comment.