Resolve all '#[allow(clippy::print_literal)]' error supressions

This commit is contained in:
Dr. Dystopia 2021-07-09 20:44:15 +02:00
parent 8d18c2be1f
commit 353c4411c7

View File

@ -364,11 +364,10 @@ impl Civs {
pub fn sites(&self) -> impl Iterator<Item = &Site> + '_ { self.sites.values() }
#[allow(dead_code)]
#[allow(clippy::print_literal)] // TODO: Pending review in #587
fn display_info(&self) {
for (id, civ) in self.civs.iter() {
println!("# Civilisation {:?}", id);
println!("Name: {}", "<unnamed>");
println!("Name: <unnamed>");
println!("Homeland: {:#?}", self.places.get(civ.homeland));
}