summary refs log tree commit diff stats
path: root/lib/pure/strscans.nim
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-10-07 18:01:27 +0800
committerGitHub <noreply@github.com>2021-10-07 12:01:27 +0200
commitf8d6a53227595ade671b97f48e43c9e80c9ac80e (patch)
tree792496a1d2d287524c27d0c7cb315c289e81b5a5 /lib/pure/strscans.nim
parent8eef55715725a9dba2ff0afbdbb564383f3a29a6 (diff)
downloadNim-f8d6a53227595ade671b97f48e43c9e80c9ac80e.tar.gz
typo [backport] (#18967)
Diffstat (limited to 'lib/pure/strscans.nim')
-rw-r--r--lib/pure/strscans.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/strscans.nim b/lib/pure/strscans.nim
index 291af7408..99442075a 100644
--- a/lib/pure/strscans.nim
+++ b/lib/pure/strscans.nim
@@ -35,7 +35,7 @@ substrings starting with ``$``. These constructions are available:
 ``$o``              Matches an octal integer. This uses ``parseutils.parseOct``.
 ``$i``              Matches a decimal integer. This uses ``parseutils.parseInt``.
 ``$h``              Matches a hex integer. This uses ``parseutils.parseHex``.
-``$f``              Matches a floating pointer number. Uses ``parseFloat``.
+``$f``              Matches a floating-point number. Uses ``parseFloat``.
 ``$w``              Matches an ASCII identifier: ``[A-Za-z_][A-Za-z_0-9]*``.
 ``$c``              Matches a single ASCII character.
 ``$s``              Skips optional whitespace.