Skip to content

Commit

Permalink
Improve/simplify Optional OrDefault()
Browse files Browse the repository at this point in the history
  • Loading branch information
andreise committed Jan 11, 2025
1 parent 6e88f6b commit c73a1cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ partial struct Optional<T>
{
public T? OrDefault()
=>
InnerOrDefault();
value;
}

0 comments on commit c73a1cd

Please sign in to comment.