mod indicators { pub mod user; } use crate::indicators::user; fn main() -> std::io::Result<()> { //let mut prompt: ANSIGenericString<'static, str> = "".into(); let mut prompt: String = String::new(); let indicate_user:bool = true; if indicate_user { prompt += &user::indicator().to_string(); } print!("{}", prompt); Ok(()) }