How to compare two slices for equality?
How to compare two slices for equality?
I remember there was a function `equal_slices` in stdlib for comparing two slices, but now at compilation time I get an error saying such a function does not exist. Was it removed? How slices should be compared nowadays?
---
> This question was imported from Telegram Chat: https://t.me/tondev/129679
I remember there was a function `equal_slices` for comparing two slices, but now at compilation time I get an error saying such a function does not exist. Was it removed? How slices should be compared nowadays?
---
> This question was imported from Telegram Chat: https://t.me/tondev/129679
#slice
#func
How to compare two slices for equality?
I remember there was a function `equal_slices` for comparing two slices, but now at compilation time I get an error saying such a function does not exist. Was it removed? How slices should be compared nowadays?
---
> This question was imported from Telegram Chat: https://t.me/tondev/129679