Skip to content

Commit 1678252

Browse files
committed
Fixed typo
1 parent 4565bae commit 1678252

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DotNext/Optional.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ private Optional<TResult> Convert<TResult, TConverter>(TConverter converter)
529529

530530
/// <summary>
531531
/// If a value is present, apply the provided mapping function to it, and if the result is
532-
/// non-null, return an Optional describing the result. Otherwise returns <see cref="None"/>.
532+
/// non-null, return an Optional describing the result. Otherwise, returns <see cref="None"/>.
533533
/// </summary>
534534
/// <typeparam name="TResult">The type of the result of the mapping function.</typeparam>
535535
/// <param name="mapper">A mapping function to be applied to the value, if present.</param>
@@ -539,7 +539,7 @@ public Optional<TResult> Convert<TResult>(Converter<T, TResult> mapper)
539539

540540
/// <summary>
541541
/// If a value is present, apply the provided mapping function to it, and if the result is
542-
/// non-null, return an Optional describing the result. Otherwise returns <see cref="None"/>.
542+
/// non-null, return an Optional describing the result. Otherwise, returns <see cref="None"/>.
543543
/// </summary>
544544
/// <typeparam name="TResult">The type of the result of the mapping function.</typeparam>
545545
/// <param name="mapper">A mapping function to be applied to the value, if present.</param>
@@ -555,7 +555,7 @@ private Optional<TResult> ConvertOptional<TResult, TConverter>(TConverter conver
555555

556556
/// <summary>
557557
/// If a value is present, apply the provided mapping function to it, and if the result is
558-
/// non-null, return an Optional describing the result. Otherwise returns <see cref="None"/>.
558+
/// non-null, return an Optional describing the result. Otherwise, returns <see cref="None"/>.
559559
/// </summary>
560560
/// <typeparam name="TResult">The type of the result of the mapping function.</typeparam>
561561
/// <param name="mapper">A mapping function to be applied to the value, if present.</param>
@@ -633,7 +633,7 @@ private bool Equals(in Optional<T> other)
633633

634634
/// <summary>
635635
/// Determines whether this container stores
636-
/// the same value as other.
636+
/// the same value as the specified one.
637637
/// </summary>
638638
/// <param name="other">Other container to compare.</param>
639639
/// <returns><see langword="true"/> if this container stores the same value as <paramref name="other"/>; otherwise, <see langword="false"/>.</returns>

0 commit comments

Comments
 (0)