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:
parent
ff5df2ce07
commit
53e4085ddc
@ -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) {
|
||||
// ...
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user