Method Call Chaining
We'll cover the following...
Two lessons ago, we had an exercise to rewrite this main
function to not use any let
statements:
Press + to interact
fn main() {let fruit = new_fruit();let fruit = increase_fruit(fruit);print_fruit(fruit);}
The ...