Skip to content

Commit

Permalink
Fixed compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed Oct 19, 2023
1 parent d2a0e89 commit be58e82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/DotNext/Span.cs
Original file line number Diff line number Diff line change
Expand Up @@ -823,12 +823,12 @@ static void SwapMemory(Span<T> x, Span<T> y, Span<T> buffer)
}

/// <summary>
///
/// Swaps two ranges within the same span.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="span"></param>
/// <param name="range1"></param>
/// <param name="range2"></param>
/// <typeparam name="T">The type of the elements in the span.</typeparam>
/// <param name="span">The source span.</param>
/// <param name="range1">The first range.</param>
/// <param name="range2">The second range.</param>
/// <exception cref="ArgumentOutOfRangeException"><paramref name="range1"/> or <paramref name="range2"/> is out of valid range.</exception>
/// <exception cref="ArgumentException"><paramref name="range2"/> is overlapped with <paramref name="range1"/>.</exception>
public static void Swap<T>(this Span<T> span, Range range1, Range range2)
Expand Down

0 comments on commit be58e82

Please sign in to comment.