mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: change all '$expr' to '${expr}' (#16428)
This commit is contained in:
@ -4,6 +4,6 @@ import v.vmod
|
||||
|
||||
fn main() {
|
||||
mod := vmod.decode(@VMOD_FILE) or { panic('Error decoding v.mod') }
|
||||
println('$mod.name has version $mod.version')
|
||||
println('\nThe full mod struct: \n$mod')
|
||||
println('${mod.name} has version ${mod.version}')
|
||||
println('\nThe full mod struct: \n${mod}')
|
||||
}
|
||||
|
Reference in New Issue
Block a user