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:
@ -7,7 +7,7 @@ pub fn show_topic(topic string) {
|
||||
vroot := os.dir(vexe)
|
||||
target_topic := os.join_path(vroot, 'cmd', 'v', 'help', '${topic}.txt')
|
||||
content := os.read_file(target_topic) or {
|
||||
eprintln('Unknown topic: $topic')
|
||||
eprintln('Unknown topic: ${topic}')
|
||||
exit(1)
|
||||
}
|
||||
println(content)
|
||||
|
Reference in New Issue
Block a user