docs: fix minor typos (#10565)
parent
809aa9af65
commit
e648578f79
|
@ -2043,11 +2043,11 @@ fn (foo &Foo) bar() {
|
||||||
In general, V's references are similar to Go pointers and C++ references.
|
In general, V's references are similar to Go pointers and C++ references.
|
||||||
For example, a generic tree structure definition would look like this:
|
For example, a generic tree structure definition would look like this:
|
||||||
|
|
||||||
```v wip
|
```v
|
||||||
struct Node<T> {
|
struct Node<T> {
|
||||||
val T
|
val T
|
||||||
left &Node
|
left &Node<T>
|
||||||
right &Node
|
right &Node<T>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue