Fix typos in docs

This commit is contained in:
Jochen Van de Velde
2015-02-24 18:32:45 +01:00
parent deb3729cb7
commit d63e8e5d11
2 changed files with 3 additions and 3 deletions

View File

@@ -87,14 +87,14 @@ is triggered.
Time measurement
----------------
The GC's way of measing time uses (see ``lib/system/timers.nim`` for the
The GC's way of measuring time uses (see ``lib/system/timers.nim`` for the
implementation):
1) ``QueryPerformanceCounter`` and ``QueryPerformanceFrequency`` on Windows.
2) ``mach_absolute_time`` on Mac OS X.
3) ``gettimeofday`` on Posix systems.
As such it supports a resolution of nano seconds internally; however the API
As such it supports a resolution of nanoseconds internally; however the API
uses microseconds for convenience.

View File

@@ -25,7 +25,7 @@ For the purposes of code generation, all static params are treated as
generic params - the proc will be compiled separately for each unique
supplied value (or combination of values).
Furthermore, the system module defines a `semistatic[T]` type than can be
Furthermore, the system module defines a `semistatic[T]` type that can be
used to declare procs accepting both static and run-time values, which can
optimize their body according to the supplied param using the `isStatic(p)`
predicate: