Can't return Self

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

Did you find this page helpful?