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 9bee582 commit 6680dbe
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 @@ -12,7 +12,7 @@ public static void Main()
"C++", "TypeScript", "Python",};

// Create a Span<string> from the arrays first 3 elements.
Span<string> languageSpan = languages.AsSpan(0,2);
Span<string> languageSpan = languages.AsSpan(0, 2);
languages[0] = "R";
Trace.Assert(languages[0] == languageSpan[0]);
Trace.Assert("R" == languageSpan[0]);
Expand Down

0 comments on commit 6680dbe

Please sign in to comment.