Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andralex committed Dec 27, 2013
1 parent 64bf8de commit 20e26bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/string.d
Expand Up @@ -3242,8 +3242,7 @@ bool isNumeric(const(char)[] s, in bool bAllowSep = false) @safe pure
// Floating-Point Number
return c.among!('l', 'L', 'f', 'F', 'i', 'I') != 0;
}
// Check if separators are allow
// to be in the numeric string
// Check if separators are allowed to be in the numeric string
if (!bAllowSep || !c.among!('_', ','))
return false;
}
Expand Down

0 comments on commit 20e26bc

Please sign in to comment.