Skip to content

Commit

Permalink
Update BoundTree.sbncs
Browse files Browse the repository at this point in the history
  • Loading branch information
LPeter1997 committed Oct 15, 2023
1 parent a4e6a01 commit a87bae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Draco.SourceGeneration/Templates/BoundTree.sbncs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace Draco.Compiler.Internal.BoundTree;
public override string ToString()
{
var result = new StringBuilder();
result.Append("{{string.remove_first($node.Name, 'Bound')}}");
result.Append("{{remove_prefix($node.Name, 'Bound')}}");
result.Append('(');

{{has_more_fields = array.size($node.Fields) > 1}}
Expand Down

0 comments on commit a87bae6

Please sign in to comment.