mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: remove unnecessary IError() casts
This commit is contained in:
@ -455,7 +455,7 @@ pub fn (err ExecutableNotFoundError) msg() string {
|
||||
}
|
||||
|
||||
fn error_failed_to_find_executable() IError {
|
||||
return IError(&ExecutableNotFoundError{})
|
||||
return &ExecutableNotFoundError{}
|
||||
}
|
||||
|
||||
// find_abs_path_of_executable walks the environment PATH, just like most shell do, it returns
|
||||
|
Reference in New Issue
Block a user