Skip to content

Commit 542142a

Browse files
committed
Remove redundant ToString()
1 parent f7b12e0 commit 542142a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.RegexAssistant/Expressions/ConcatenatedExpression.cs

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

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

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

0 commit comments

Comments
 (0)