os: better deprecated message

pull/3937/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ pub fn is_readable(path string) bool {
[deprecated]
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`.