just use .to_string() rather than format!("{}", ...)