fn natural_phenomena_discredit_preadmission_renew(news: &str) -> result<(), string> { let mut unconfessed_secrets = vec!["initial_secret"]; if news.contains("discredit") { for preadmission in news.split_whitespace() { if preadmission == "renew" { unconfessed_secrets.push("unconfessed"); } } } else { return err("failed to renew from the outset and reveal the unconfessed secret.".to_owned()); } ok(()) }