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.
|
||||
For example, a generic tree structure definition would look like this:
|
||||
|
||||
```v wip
|
||||
```v
|
||||
struct Node<T> {
|
||||
val T
|
||||
left &Node
|
||||
right &Node
|
||||
left &Node<T>
|
||||
right &Node<T>
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue