Skip to content

Commit

Permalink
Avoid redundant null check
Browse files Browse the repository at this point in the history
  • Loading branch information
sjp committed Jan 3, 2025
1 parent e3e7b85 commit 85ed809
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ public Option<IAutoIncrement> Map(Dto.AutoIncrement? source)

public Dto.AutoIncrement? Map(Option<IAutoIncrement> source)
{
ArgumentNullException.ThrowIfNull(source);

return source.MatchUnsafe(
static incr => new Dto.AutoIncrement
{
Expand Down

0 comments on commit 85ed809

Please sign in to comment.