File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5833,10 +5833,10 @@ fn main() {
58335833
58345834You can read [Enum](# enums) values and their attributes.
58355835
5836- ` ` ` V
5836+ ` ` ` v
58375837enum Color {
5838- red @[RED] // first attribute
5839- blue @[BLUE] // second attribute
5838+ red @[RED] // first attribute
5839+ blue @[BLUE] // second attribute
58405840}
58415841
58425842fn main () {
@@ -5857,7 +5857,7 @@ fn main() {
58575857
58585858You can read [Struct](# structs) attributes.
58595859
5860- ` ` ` V
5860+ ` ` ` v
58615861@[COLOR]
58625862struct Foo {
58635863 a int
@@ -5882,7 +5882,7 @@ fn main() {
58825882
58835883You can read variant types from [Sum type](# sum-types).
58845884
5885- ` ` ` V
5885+ ` ` ` v
58865886type MySum = int | string
58875887
58885888fn main () {
@@ -5904,7 +5904,7 @@ fn main() {
59045904
59055905You can retrieve information about struct methods.
59065906
5907- ` ` ` V
5907+ ` ` ` v
59085908struct Foo {
59095909}
59105910
@@ -5916,7 +5916,6 @@ fn (f Foo) test2() string {
59165916 return ' foo'
59175917}
59185918
5919-
59205919fn main () {
59215920 foo := Foo{}
59225921 $for m in Foo.methods {
@@ -6228,10 +6227,10 @@ See also [Cross Compilation](#cross-compilation).
62286227To use the native *V debugger*, add the `$dbg` statement to your source, where you
62296228want the debugger to be invoked.
62306229
6231- ```V
6230+ ```v
62326231fn main() {
62336232 a := 1
6234- $dbg
6233+ $dbg;
62356234}
62366235```
62376236
@@ -7715,4 +7714,4 @@ Assignment Operators
77157714+= -= *= /= %=
77167715&= |= ^=
77177716>>= <<= >>>=
7718- ` ` `
7717+ ` ` `
You can’t perform that action at this time.
0 commit comments