Skip to content

Commit 9e51f61

Browse files
committed
Remove redundant ToString()
1 parent c8aac33 commit 9e51f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.RegexAssistant/Expressions/AlternativesExpression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public AlternativesExpression(IList<IRegularExpression> subexpressions)
1616

1717
public IList<IRegularExpression> Subexpressions { get; }
1818

19-
public override string ToString() => $"Aternatives:{Subexpressions.ToString()}";
19+
public override string ToString() => $"Aternatives:{Subexpressions}";
2020
public override bool Equals(object obj) => obj is AlternativesExpression other && Subexpressions.Equals(other.Subexpressions);
2121
public override int GetHashCode() => HashCode.Compute(Subexpressions);
2222
}

0 commit comments

Comments
 (0)