1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: fix references to time.wait -> time.sleep

This commit is contained in:
Delyan Angelov
2021-02-28 18:01:31 +02:00
parent bdce35fd9c
commit 4125bfe401
5 changed files with 20 additions and 20 deletions

View File

@@ -31,10 +31,10 @@ import benchmark
mut b := benchmark.start()
// your code section 1 ...
time.wait(1500 * time.millisecond)
time.sleep(1500 * time.millisecond)
b.measure('code_1')
// your code section 2 ...
time.wait(500 * time.millisecond)
time.sleep(500 * time.millisecond)
b.measure('code_2')
```