perf: inline redundant var

This commit is contained in:
Oliver Booth 2023-08-08 22:25:00 +01:00
parent a6afe46891
commit 030e5fdd3d
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
using Cysharp.Text;
using Cysharp.Text;
using Markdig.Helpers;
using Markdig.Parsers;
@ -76,8 +76,7 @@ public sealed class TemplateInlineParser : InlineParser
ReadOnlySpan<char> result = ReadNext(argumentSpan, ref index, false, out bool hasValue);
if (!hasValue)
{
var argument = result.ToString();
argumentList.Add(argument);
argumentList.Add(result.ToString());
continue;
}