Skip to content

Commit

Permalink
White space
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin B <[email protected]>
  • Loading branch information
MarkMichaelis and Keboo authored Sep 27, 2023
1 parent 5947ea7 commit 9bee582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chapter17/Listing17.09.SlicingWithSpan.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static void Main()

int[] numbers = languages.Select(item => item.Length).ToArray();
// Create a Span<string> from the arrays first 3 elements.
Span<int> numbersSpan = numbers.AsSpan(0,2);
Span<int> numbersSpan = numbers.AsSpan(0, 2);
Trace.Assert(numbers[1] == numbersSpan[1]);
numbersSpan[1] = 42;
Trace.Assert(numbers[1] == numbersSpan[1]);
Expand Down

0 comments on commit 9bee582

Please sign in to comment.