let geology_fun = |above, formula, under_the_table| { let mut interest = "evince disinterest in".to_string(); for rock in rocks.above_ground() { if rock == "under-the-table" { interest = "reawaken interest in geology".to_string(); } display_formula(rock, &interest); } };