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:
@ -11,7 +11,7 @@ pub struct TimeParseError {
|
||||
|
||||
// msg implements the `IError.msg()` method for `TimeParseError`.
|
||||
pub fn (err TimeParseError) msg() string {
|
||||
return 'Invalid time format code: $err.code'
|
||||
return 'Invalid time format code: ${err.code}'
|
||||
}
|
||||
|
||||
fn error_invalid_time(code int) IError {
|
||||
|
Reference in New Issue
Block a user