Skip to content

Commit d973049

Browse files
authored
Merge pull request #60 from sashaodessa/main
Fix: Correct spelling errors in error messages and comments
2 parents c7421b4 + c6494d2 commit d973049

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

ir_cli/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ ir_cli sol2tensor $input_dir_absolute_path
6060
| ├- file2.json
6161
| └- ...
6262
└- output
63-
├- source_info -- infomation about contract
63+
├- source_info -- information about contract
6464
├- standard_input -- solc compiler standard input json
6565
├- standard_output -- solc compiler standard output json
6666
├- yul -- yul src code
6767
├- sir -- Smart IR
6868
└- tensor -- tensor data
6969
70-
```
70+
```

smart_ir/src/ir/pass_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ impl<IRUnit: 'static> AnalysisManager<IRUnit> {
215215
.downcast_rc::<AnalysisImpl::AnalysisResult>()
216216
.unwrap_or_else(|_| {
217217
panic!(
218-
"cast analysis resulst to {} failed",
218+
"cast analysis results to {} failed",
219219
std::any::type_name::<AnalysisImpl::AnalysisResult>()
220220
)
221221
})

smart_ir/src/linker/wasm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ pub fn link(
208208
// remove empty initializers
209209
if let Some(data_section) = module.data_section_mut() {
210210
let _entries = data_section.entries_mut();
211-
// TODO: can't rm the entries directly when mulitple modules
211+
// TODO: can't rm the entries directly when multiple modules
212212
// let mut index = 0;
213213
// while index < entries.len() {
214214
// if entries[index].value().iter().all(|b| *b == 0) {

smart_ir/src/runtime/vm/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl VirtualMachine {
6565
},
6666
code,
6767
addr,
68-
op_addr: Address::from("opration address"),
68+
op_addr: Address::from("operation address"),
6969
}
7070
}
7171
}

0 commit comments

Comments
 (0)