@@ -39,7 +39,7 @@ pub mod internal {
3939 // any `TestContract` frame in progress and then _panics_, unwinding back to
4040 // a panic-catcher it installed when invoking the `TestContract` frame, and
4141 // then extracting E from the frame and returning it to its caller. This
42- // simulates the "crash, but catching the error" behaviour of the WASM case.
42+ // simulates the "crash, but catching the error" behavior of the WASM case.
4343 // This only works if we panic via `escalate_error_to_panic`.
4444 //
4545 // (The reason we don't just panic_any() here and let the panic-catcher do a
@@ -725,7 +725,7 @@ impl Env {
725725 /// Take the return value with a grain of salt. The returned resources mostly
726726 /// correspond only to the operations that have happened during the host
727727 /// invocation, i.e. this won't try to simulate the work that happens in
728- /// production scenarios (e.g. certain XDR rountrips ). This also doesn't try
728+ /// production scenarios (e.g. certain XDR roundtrips ). This also doesn't try
729729 /// to model resources related to the transaction size.
730730 ///
731731 /// The returned value is as useful as the preceding setup, e.g. if a test
@@ -749,7 +749,7 @@ impl Env {
749749 ///
750750 /// Pass the arguments for the contract's constructor, or `()` if none. For
751751 /// contracts with a constructor, use the contract's generated `Args` type
752- /// to construct the arguments with the appropropriate types for invoking
752+ /// to construct the arguments with the appropriate types for invoking
753753 /// the constructor during registration.
754754 ///
755755 /// Returns the address of the registered contract that is the same as the
@@ -1555,7 +1555,7 @@ impl Env {
15551555 /// # fn main() {
15561556 /// let e: Env = Default::default();
15571557 /// let account_contract = NoopAccountContractClient::new(&e, &e.register(NoopAccountContract, ()));
1558- /// // Non-succesful call of `__check_auth` with a `contracterror` error.
1558+ /// // Non-successful call of `__check_auth` with a `contracterror` error.
15591559 /// assert_eq!(
15601560 /// e.try_invoke_contract_check_auth::<NoopAccountError>(
15611561 /// &account_contract.address,
0 commit comments