Skip to content

Commit 8457458

Browse files
committed
apply automatic refactor
1 parent 75cfca9 commit 8457458

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CSharpMath/Structures/Dictionary.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ static int SplitCommand(ReadOnlySpan<char> chars) {
120120
return TryLookupNonCommand(chars);
121121
}
122122
Result<(TValue Result, int SplitIndex)> TryLookupNonCommand(ReadOnlySpan<char> chars) {
123-
foreach ((string NonCommand, TValue Value) t in nonCommands) {
124-
if (chars.StartsWith(t.NonCommand.AsSpan(), StringComparison.Ordinal)) {
125-
return Result.Ok((t.Value, t.NonCommand.Length)); }
123+
foreach ((string NonCommand, TValue Value) in nonCommands) {
124+
if (chars.StartsWith(NonCommand.AsSpan(), StringComparison.Ordinal)) {
125+
return Result.Ok((Value, NonCommand.Length)); }
126126
}
127127
return defaultParser(chars);
128128
}

0 commit comments

Comments
 (0)