Skip to content

Commit 01eae97

Browse files
authored
fix: typos across codebase (#3380)
1 parent 08263a3 commit 01eae97

File tree

13 files changed

+460
-460
lines changed

13 files changed

+460
-460
lines changed

docs/grammars/grammar-tact.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
}
114114
},
115115
{
116-
"comment": "One or more @inteface() before traits and contracts",
116+
"comment": "One or more @interface() before traits and contracts",
117117
"begin": "(?<!\\.)(@interface)\\s*(\\()",
118118
"beginCaptures": {
119119
"1": {

docs/links-to-web-ide.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function remarkLinksToWebIDE() {
3131
let src = node.value.trim();
3232
if (src.length > maxAllowedCharacters) { return undefined; }
3333

34-
// Disallow single-line code blocks as they pose very little value and they're often represent function signatures in the Reference section
34+
// Disallow single-line code blocks as they pose very little value and they often represent function signatures in the Reference section
3535
const lines = src.split('\n');
3636
if (lines.length <= 1) { return undefined; }
3737

@@ -53,7 +53,7 @@ export default function remarkLinksToWebIDE() {
5353
for (let i = 0; i < lines.length; i += 1) {
5454
// Same regex as in scripts/typecheck-examples.js
5555
const matchRes = lines[i].match(/^\s*(?:import|primitive|const|asm|fun|extends|mutates|virtual|override|inline|abstract|@name|@interface|contract|trait|struct|message)\b/);
56-
// TODO: Unite the regexes when Tact 2.0 arrives (or if some new module-level item arrives, or via try/catch and re-using compiler's parser)
56+
// TODO: Unite the regexes when Tact 2.0 arrives (or if some new module-level item arrives, or via try/catch and reusing compiler's parser)
5757

5858
if (matchRes !== null) {
5959
hasModuleItems = true;

docs/src/content/docs/zh-cn/book/structs-and-messages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ message(0x2A) ArbitraryMessage {}
279279
280280
fun lawTwo() {
281281
// Using 32 bits to store 42 just so this cellInst can be
282-
// re-used for working with both ArbitraryStruct and ArbitraryMessage
282+
// reused for working with both ArbitraryStruct and ArbitraryMessage
283283
let cellInst = beginCell().storeUint(42, 32).endCell();
284284
285285
ArbitraryStruct.fromCell(cellInst).toCell(); // = cellInst

docs/src/content/docs/zh-cn/cookbook/dexes/dedust.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ message(0xf8a7ea5) JettonTransfer {
212212
:::note[Useful links:]
213213

214214
[在 TON Docs检索](https://docs.ton.org/develop/dapps/asset-processing/jettons#retaining-jetton-wallet-addresses-for-a-ginde-user).\
215-
[如何计算用户的 Jeton 钱包地址 (offline)?](https://docs.ton.org/v3/guidelines/dapps/cookbook#how to calyse-users-jetton-wallet-addresss-offline)
215+
[如何计算用户的 Jetton 钱包地址 (offline)?](https://docs.ton.org/v3/guidelines/dapps/cookbook#how to calyse-users-jetton-wallet-addresss-offline)
216216

217217
:::
218218

docs/themes/one-light-mod.jsonc

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/asm/runtime/stack-signatures-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,8 @@
447447
"completion_tag": {
448448
"type": "boolean",
449449
"title": "Completion tag flag",
450-
"description": "Determines completion tag presense: trailing `'1' + '0' * x` in bitstring",
451-
"markdownDescription": "Determines completion tag presense: trailing `'1' + '0' * x` in bitstring"
450+
"description": "Determines completion tag presence: trailing `'1' + '0' * x` in bitstring",
451+
"markdownDescription": "Determines completion tag presence: trailing `'1' + '0' * x` in bitstring"
452452
},
453453
"max_bits": {
454454
"type": "number",

src/benchmarks/notcoin/func/gas.fc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ int forward_init_state_overhead() inline {
7676
;; 3 messages: wal1->wal2, wal2->owner, wal2->response
7777
;; but last one is optional (it is ok if it fails)
7878
fwd_count * fwd_fee +
79-
forward_init_state_overhead() + ;; additional fwd fees related to initstate in iternal_transfer
79+
forward_init_state_overhead() + ;; additional fwd fees related to initstate in internal_transfer
8080
get_compute_fee(MY_WORKCHAIN, send_transfer_gas_consumption) +
8181
get_compute_fee(MY_WORKCHAIN, receive_transfer_gas_consumption) +
8282
calculate_jetton_wallet_min_storage_fee() );

src/benchmarks/notcoin/func/stdlib-custom.fc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
{-
2020
# Tuple manipulation primitives
2121
The names and the types are mostly self-explaining.
22-
See [polymorhism with forall](https://ton.org/docs/#/func/functions?id=polymorphism-with-forall)
22+
See [polymorphism with forall](https://ton.org/docs/#/func/functions?id=polymorphism-with-forall)
2323
for more info on the polymorphic functions.
2424

2525
Note that currently values of atomic type `tuple` can't be cast to composite tuple type (e.g. `[int, cell]`)
26-
and vise versa.
26+
and vice versa.
2727
-}
2828

2929
{-
@@ -631,7 +631,7 @@ int get_seed() impure asm "RANDSEED";
631631
;;; Equivalent to randomize(cur_lt());.
632632
() randomize_lt() impure asm "LTIME" "ADDRAND";
633633

634-
;;; Checks whether the data parts of two slices coinside
634+
;;; Checks whether the data parts of two slices coincide
635635
int equal_slices_bits(slice a, slice b) asm "SDEQ";
636636
;;; Checks whether b is a null. Note, that FunC also has polymorphic null? built-in.
637637
int builder_null?(builder b) asm "ISNULL";
@@ -834,7 +834,7 @@ builder store_query_id(builder b, int query_id) inline {
834834

835835
;; For `send_raw_message` and `send_message`:
836836

837-
;;; x = 0 is used for ordinary messages; the gas fees are deducted from the senging amount; action phaes should NOT be ignored.
837+
;;; x = 0 is used for ordinary messages; the gas fees are deducted from the sending amount; action phase should NOT be ignored.
838838
const int SEND_MODE_REGULAR = 0;
839839
;;; +1 means that the sender wants to pay transfer fees separately.
840840
const int SEND_MODE_PAY_FEES_SEPARATELY = 1;

src/benchmarks/wallet-v4/tact/wallet-v4.tact

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ contract WalletV4(
160160
let deployPlugin = DeployPlugin.fromSlice(msg.payload);
161161

162162
let addr = newAddress(deployPlugin.wc, deployPlugin.stateInit.hash());
163-
// cant use deploy here because of only basechain support
163+
// can't use deploy here because of only basechain support
164164
sendRawMessage(
165165
RawMsgWithDeploy {
166166
stateInit: deployPlugin.stateInit,

src/func/stdlib/stdlib.fc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
{-
2020
# Tuple manipulation primitives
2121
The names and the types are mostly self-explaining.
22-
See [polymorhism with forall](https://ton.org/docs/#/func/functions?id=polymorphism-with-forall)
22+
See [polymorphism with forall](https://ton.org/docs/#/func/functions?id=polymorphism-with-forall)
2323
for more info on the polymorphic functions.
2424

2525
Note that currently values of atomic type `tuple` can't be cast to composite tuple type (e.g. `[int, cell]`)
26-
and vise versa.
26+
and vice versa.
2727
-}
2828

2929
{-
@@ -664,7 +664,7 @@ int get_seed() impure asm "RANDSEED";
664664
;;; Equivalent to randomize(cur_lt());.
665665
() randomize_lt() impure asm "LTIME" "ADDRAND";
666666

667-
;;; Checks whether the data parts of two slices coinside
667+
;;; Checks whether the data parts of two slices coincide
668668
int equal_slices_bits(slice a, slice b) asm "SDEQ";
669669
;;; Checks whether b is a null. Note, that FunC also has polymorphic null? built-in.
670670
int builder_null?(builder b) asm "ISNULL";

0 commit comments

Comments
 (0)