Comment on Rust's Two Kinds of 'Assert' Make for Better CodeparentComments−mort961yWat's up with calling the variable "index" in the second parameter to assert? What happens when you try to call what's presumably an integer..?−masklinn1yThere is no call. assert is a macro, the second parameter is a list of places which the restart can update.
Comments
Wat's up with calling the variable "index" in the second parameter to assert? What happens when you try to call what's presumably an integer..?
There is no call. assert is a macro, the second parameter is a list of places which the restart can update.