Skip to content

Commit 131315d

Browse files
committed
- No need for nullable error in constructor
1 parent 5eb33f2 commit 131315d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/ResultPattern/Result.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected Result()
2020
/// Initializes a new instance of the <see cref="Result"/> class representing a failed result with an error.
2121
/// </summary>
2222
/// <param name="error">The error associated with the failed result.</param>
23-
protected Result(Error? error)
23+
protected Result(Error error)
2424
{
2525
IsSuccess = false;
2626
Error = error;

0 commit comments

Comments
 (0)