Skip to content

Commit 61e65ae

Browse files
Update Span`1.xml (#5086)
* Update Span`1.xml typo and may be better sentence * Update xml/System/Span`1.xml awesome, looks perfect. Co-authored-by: Carlos Sanchez <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]>
1 parent 596b0a4 commit 61e65ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/Span`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ Two <xref:System.Span%601> objects are equal if they have different lengths or i
980980
<remarks>
981981
<format type="text/markdown"><![CDATA[
982982
983-
This method performs a heap allocation and therefore should be avoided if possible. It it sometimes necessary when APIs that support <xref:System.Span%601> objects are not available but APIs that work with arrays are.
983+
This method performs a heap allocation and therefore should be avoided if possible. Heap allocations are expected in APIs that work with arrays. Using such APIs is unavoidable if an alternative API overload that takes a <xref:System.Span%601> does not exist.
984984
985985
]]></format>
986986
</remarks>

0 commit comments

Comments
 (0)