Skip to content

Commit bc38aae

Browse files
committed
Fix variable naming
1 parent 9092c40 commit bc38aae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ZLinq/Linq/LongCount.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,18 @@ public static Int64 LongCount<TSource>(this ValueEnumerable<FromArray<TSource>,
7171
return LongCount(array, predicate);
7272
}
7373

74-
var longcount = 0;
74+
var longCount = 0;
7575

7676
var span = (ReadOnlySpan<TSource>)array;
7777
for (int i = 0; i < span.Length; i++)
7878
{
7979
if (predicate(span[i]))
8080
{
81-
longcount++;
81+
longCount++;
8282
}
8383
}
8484

85-
return longcount;
85+
return longCount;
8686

8787
[MethodImpl(MethodImplOptions.NoInlining)]
8888
static Int64 LongCount(TSource[] array, Func<TSource, Boolean> predicate)

0 commit comments

Comments
 (0)