mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vfmt: shorten main.const_name
to just const_name
This commit is contained in:
parent
ea11488339
commit
dbaccd4272
25 changed files with 183 additions and 175 deletions
|
@ -67,7 +67,7 @@ const (
|
|||
|
||||
fn main() {
|
||||
// get a mutable reference to the subscriber
|
||||
mut sub := main.eb.subscriber
|
||||
mut sub := eb.subscriber
|
||||
// subscribe to the 'error' event
|
||||
sub.subscribe('error', on_error)
|
||||
// start the work
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue