We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a305f commit 5be732dCopy full SHA for 5be732d
Flow.Launcher.Infrastructure/PinyinAlphabet.cs
@@ -163,7 +163,7 @@ private static string ToDoublePin(string fullPinyin)
163
{
164
doublePin.Append(first[fullPinyin[..2]]);
165
166
- if (second.TryGetValue(fullPinyin[2..], out string tmp))
+ if (second.TryGetValue(fullPinyin[2..], out var tmp))
167
168
doublePin.Append(tmp);
169
}
@@ -176,7 +176,7 @@ private static string ToDoublePin(string fullPinyin)
176
177
doublePin.Append(fullPinyin[0]);
178
179
- if (second.TryGetValue(fullPinyin[1..], out string tmp))
+ if (second.TryGetValue(fullPinyin[1..], out var tmp))
180
181
182
0 commit comments