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:
@ -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
|
||||
|
Reference in New Issue
Block a user