perf: inline redundant var
This commit is contained in:
parent
a6afe46891
commit
030e5fdd3d
@ -1,4 +1,4 @@
|
|||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using Markdig.Helpers;
|
using Markdig.Helpers;
|
||||||
using Markdig.Parsers;
|
using Markdig.Parsers;
|
||||||
|
|
||||||
@ -76,8 +76,7 @@ public sealed class TemplateInlineParser : InlineParser
|
|||||||
ReadOnlySpan<char> result = ReadNext(argumentSpan, ref index, false, out bool hasValue);
|
ReadOnlySpan<char> result = ReadNext(argumentSpan, ref index, false, out bool hasValue);
|
||||||
if (!hasValue)
|
if (!hasValue)
|
||||||
{
|
{
|
||||||
var argument = result.ToString();
|
argumentList.Add(result.ToString());
|
||||||
argumentList.Add(argument);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user