Skip to content

Commit a0b5ecb

Browse files
authored
Merge pull request #257 from jjjmuniz/patch-1
Update Optional.cs
2 parents ca025fd + fe3480a commit a0b5ecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DotNext/Optional.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public static async Task<Optional<T>> If<T>(this Task<Optional<T>> task, Predica
116116
public static Type? GetUnderlyingType(Type optionalType) => IsOptional(optionalType) ? optionalType.GetGenericArguments()[0] : null;
117117

118118
/// <summary>
119-
/// Constructs optional value from nullable reference type.
119+
/// Constructs optional value from nullable value type.
120120
/// </summary>
121121
/// <typeparam name="T">Type of value.</typeparam>
122122
/// <param name="value">The value to convert.</param>

0 commit comments

Comments
 (0)