Skip to content

Commit 2aeb33e

Browse files
committed
fix: typo
1 parent f59b676 commit 2aeb33e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
*/target
33
**/*.rs.bk
44
Cargo.lock
5+
.idea
6+
.vscode

sv-parser/examples/module_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fn main() {
1717
let result = parse_sv(&path, &defines, &includes, false, false);
1818

1919
if let Ok((syntax_tree, _)) = result {
20-
// &SyntexTree is iterable
20+
// &SyntaxTree is iterable
2121
for node in &syntax_tree {
2222
// The type of each node is RefNode
2323
match node {

sv-parser/examples/parse_sv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fn main() {
9393
print_parse_error(&origin_path, &origin_pos);
9494
}
9595
x => {
96-
println!("parse failed: {:?} ({})", path, x);
96+
println!("parse failed: {:?} ({:?})", path, x);
9797
let mut err = x.source();
9898
while let Some(x) = err {
9999
println!(" Caused by {}", x);

0 commit comments

Comments
 (0)