1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os: better deprecated message

This commit is contained in:
Alexander Medvednikov 2020-03-04 20:29:17 +01:00 committed by GitHub
parent b0ece3a9d8
commit b7e2af8151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -603,7 +603,7 @@ pub fn is_readable(path string) bool {
[deprecated] [deprecated]
pub fn file_exists(_path string) bool { pub fn file_exists(_path string) bool {
panic('use os.exists(path) instead of os.file_exists(path)') panic('Use `os.exists` instead of `os.file_exists`')
} }
// rm removes file in `path`. // rm removes file in `path`.