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

doc: fix documentation examples (#17804)

This commit is contained in:
Artem Yurchenko 2023-03-28 22:26:22 +02:00 committed by GitHub
parent ff5df2ce07
commit 53e4085ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4886,7 +4886,6 @@ Documentation for each function/type/const must be placed right before the decla
```v
// clearall clears all bits in the array
fn clearall() {
}
```
@ -4899,7 +4898,6 @@ span to the documented function using single line comments:
```v
// copy_all recursively copies all elements of the array by their value,
// if `dupes` is false all duplicate values are eliminated in the process.
fn copy_all(dupes bool) {
// ...
}