mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix formatting in .md files too
This commit is contained in:
@@ -1679,8 +1679,8 @@ const (
|
|||||||
world = '世界'
|
world = '世界'
|
||||||
)
|
)
|
||||||
|
|
||||||
println(pi)
|
println(main.pi)
|
||||||
println(world)
|
println(main.world)
|
||||||
```
|
```
|
||||||
|
|
||||||
Constants are declared with `const`. They can only be defined
|
Constants are declared with `const`. They can only be defined
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ const (
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
// get a mutable reference to the subscriber
|
// get a mutable reference to the subscriber
|
||||||
mut sub := eb.subscriber
|
mut sub := main.eb.subscriber
|
||||||
// subscribe to the 'error' event
|
// subscribe to the 'error' event
|
||||||
sub.subscribe('error', on_error)
|
sub.subscribe('error', on_error)
|
||||||
// start the work
|
// start the work
|
||||||
|
|||||||
Reference in New Issue
Block a user