Skip to content

Commit 229512d

Browse files
committed
single_ast_node: Fix typo in as_string() method
1 parent cf94fd8 commit 229512d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/rust/ast/rust-ast.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ class SingleASTNode
18001800
case IMPL:
18011801
return "Impl Item: " + impl_item->as_string ();
18021802
case TRAIT_IMPL:
1803-
return "Trait Impl Item: " + impl_item->as_string ();
1803+
return "Trait Impl Item: " + trait_impl_item->as_string ();
18041804
case TYPE:
18051805
return "Type: " + type->as_string ();
18061806
}

0 commit comments

Comments
 (0)