mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +03:00
typo
This commit is contained in:
parent
4a7811a9dc
commit
abc9b2fea6
1 changed files with 1 additions and 1 deletions
|
@ -4263,7 +4263,7 @@ ptrdiff_t countUntil(alias pred = "a == b", R1, R2)(R1 haystack, R2 needle)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (r2.empty)
|
||||
if (needle.empty)
|
||||
return 0;
|
||||
|
||||
//Default case, slower route doing startsWith iteration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue