Update improved-interpolated-strings.md (#4617)

Fix typo in "Return" keyword. 

Changed to return instead of "Return"
This commit is contained in:
Deepu Madhusoodanan 2021-04-02 16:32:12 -04:00 committed by GitHub
parent 0e036c9129
commit d41fcd0377
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,7 +249,7 @@ public ref struct InterpolatedStringBuilder
{
string result = _array.AsSpan(0, _count).ToString();
ArrayPool<char>.Shared.Return(_array);
Return result;
return result;
}
public bool TryFormatBaseString(string s) => TryFormatInterpolationHole(s);
public bool TryFormatInterpolationHole(ReadOnlySpan<char> s)