瀏覽代碼

Fix typo in codegen/dispatch/polkadot.rs (#1788)

Signed-off-by: Samuel Moelius <35515885+smoelius@users.noreply.github.com>
Samuel Moelius 6 月之前
父節點
當前提交
71f0aa370a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/codegen/dispatch/polkadot.rs

+ 1 - 1
src/codegen/dispatch/polkadot.rs

@@ -15,7 +15,7 @@ use solang_parser::pt::{FunctionTy, Loc::Codegen};
 use std::fmt::{Display, Formatter, Result};
 
 /// On Polkadot, contracts export  a `call` and a `deploy` function.
-/// The `contracts` pallet will invoke `deploy` on contract instatiation,
+/// The `contracts` pallet will invoke `deploy` on contract instantiation,
 /// and `call` on any contract calls after the instantiation.
 ///
 /// On Ethereum, constructors do not exist on-chain; they are only executed once.