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:
@@ -40,7 +40,7 @@ fn C.AAssetManager_open(&C.AAssetManager, &char, int) &C.AAsset
|
||||
pub fn (am &AssetManager) open(filename string, mode AssetMode) !&Asset {
|
||||
asset := C.AAssetManager_open(am, filename.str, int(mode))
|
||||
if isnil(asset) {
|
||||
return error('file `$filename` not found')
|
||||
return error('file `${filename}` not found')
|
||||
}
|
||||
return asset
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user