Can't return Self

why Self is AnyType. How to return Self
No description
2 Replies
Stole
Stole2y ago
Self refers to the type of the struct that you're in, while self refers to the actual object
Tanvir
TanvirOP2y ago
ooh

Did you find this page helpful?