Skip to content

Commit 5b33677

Browse files
authored
chore: fix typos (#1820)
### Description This PR corrects several minor typos in comments and documentation across the codebase. The changes are non-functional and purely textual to improve clarity and maintain a clean, professional codebase. ### Details - Corrected misspellings: - `substract` → `subtract` - `specifed` → `specified` - `explicity` → `explicitly` These fixes help enhance readability and eliminate minor distractions during development and code reviews. ### Additional Info No logic or functionality has been modified. All changes are restricted to comments or non-executable doc annotations. Signed-off-by: John Wick <johnwickjonwik@gmail.com>
1 parent 2ca1eeb commit 5b33677

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

integration/polkadot/balances.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('Deploy balances contract and test', () => {
3131
let { data: { free: contractQueryBalBefore } } = await conn.query.system.account(String(deploy_contract.address));
3232

3333
// The "Existential Deposit" (aka. minimum balance) is part of the free balance;
34-
// to get the actual free balance from a contracts point of view we substract it.
34+
// to get the actual free balance from a contracts point of view we subtract it.
3535
const ED = 1000000000n;
3636
expect(contractRpcBal?.toString()).toBe((contractQueryBalBefore.toBigInt() - ED).toString());
3737

src/bin/cli/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ pub fn imports_arg<T: PackageTrait>(package: &T) -> FileResolver {
522522

523523
if !dups.is_empty() {
524524
eprintln!(
525-
"error: import paths {} specifed more than once",
525+
"error: import paths {} specified more than once",
526526
dups.iter().map(|p| format!("'{}'", p.display())).join(", ")
527527
);
528528
exit(1);

tests/imports.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ fn found_two_files() {
245245
let error = String::from_utf8_lossy(&output.stderr);
246246
println!("{error}");
247247

248-
assert!(error.contains("error: import paths 'imports', 'meh' specifed more than once"));
248+
assert!(error.contains("error: import paths 'imports', 'meh' specified more than once"));
249249

250250
let mut cmd = Command::cargo_bin("solang").unwrap();
251251
let run = cmd

vscode/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ All notable changes to the "solang" extension will be documented in this file.
2727
## [0.3.0]
2828

2929
- Ensure the extension still works without a connections to the internet
30-
- Allow solang executable to set explicity to a path using
30+
- Allow solang executable to set explicitly to a path using
3131
solang.forceSolangExecutable
3232
- Remove unsupported targets Sawtooth and
3333
- Updates for solang v0.1.10

0 commit comments

Comments
 (0)