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:
@@ -42,7 +42,7 @@ pub fn fraction(n i64, d i64) Fraction {
|
||||
|
||||
// To String method
|
||||
pub fn (f Fraction) str() string {
|
||||
return '$f.n/$f.d'
|
||||
return '${f.n}/${f.d}'
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user