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

vlib: remove older deprecated functions (#8864)

This commit is contained in:
Stanislav Ershov
2021-02-20 23:42:55 +05:00
committed by GitHub
parent 30ed201600
commit c190b6a131
4 changed files with 6 additions and 88 deletions

View File

@ -1557,12 +1557,6 @@ pub fn (s string) limit(max int) string {
return u.substr(0, max)
}
[deprecated]
pub fn (c byte) is_white() bool {
eprintln('warning: `string.is_white` has been deprecated, use `string.is_space` instead')
return c.is_space()
}
// hash returns an integer hash of the string.
pub fn (s string) hash() int {
// mut h := s.hash_cache