mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 05:30:33 +03:00
s/least/lest/
Co-authored-by: Vladimir Panteleev <CyberShadow@users.noreply.github.com>
This commit is contained in:
parent
0cdb54d03c
commit
86c7d2ebeb
1 changed files with 1 additions and 1 deletions
|
@ -5282,7 +5282,7 @@ string tempDir() @trusted
|
|||
import std.algorithm.searching : endsWith;
|
||||
|
||||
// It is very rare a directory path will reach this point with a directory separator at the end
|
||||
// However on OSX this can happen, so we must verify least we break user code i.e. https://github.com/dlang/dub/pull/2208
|
||||
// However on OSX this can happen, so we must verify lest we break user code i.e. https://github.com/dlang/dub/pull/2208
|
||||
if (!input.endsWith(dirSeparator))
|
||||
return input ~ dirSeparator;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue