Skip to content

Commit

Permalink
Remove redundant ToString()
Browse files Browse the repository at this point in the history
  • Loading branch information
IvenBach committed Jul 20, 2019
1 parent 96f8eaa commit e0a467c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -18,7 +18,7 @@ public SingleAtomExpression(IAtom atom)
public IList<IRegularExpression> Subexpressions => new List<IRegularExpression>(Enumerable.Empty<IRegularExpression>());


public override string ToString() => $"Atom: {Atom.ToString()}";
public override string ToString() => $"Atom: {Atom}";
public override bool Equals(object obj) => obj is SingleAtomExpression other && other.Atom.Equals(Atom);
public override int GetHashCode() => Atom.GetHashCode();
}
Expand Down

0 comments on commit e0a467c

Please sign in to comment.