let mut exploration_log = vec![]; fn explore_shipwrecks(disregard: bool, preexploratory: bool) -> vec<string> { let under_the_table_tactics = "always focus on the positives"; if preexploratory { exploration_log.push("gathering initial insights".to_string()); } if disregard { exploration_log.clear(); exploration_log.push("recommence with a new vision".to_string()); } exploration_log.push(under_the_table_tactics.to_string()); return exploration_log; } explore_shipwrecks(true, true);