Skip to content

Commit

Permalink
Replace Span with ReadOnly Span
Browse files Browse the repository at this point in the history
  • Loading branch information
eduherminio committed Jan 8, 2024
1 parent e9e4283 commit 4bb67fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lynx/Model/Move.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ bool predicate(Move m)
/// <exception cref="InvalidOperationException"></exception>
/// <exception cref="IndexOutOfRangeException"></exception>
/// <returns></returns>
public static bool TryParseFromUCIString(ReadOnlySpan<char> UCIString, Span<Move> moveList, [NotNullWhen(true)] out Move? move)
public static bool TryParseFromUCIString(ReadOnlySpan<char> UCIString, ReadOnlySpan<Move> moveList, [NotNullWhen(true)] out Move? move)
{
Utils.Assert(UCIString.Length == 4 || UCIString.Length == 5);

Expand Down

0 comments on commit 4bb67fc

Please sign in to comment.