Merge branch 'tygyh/Resolve-all-'#-allow(clippy--print_literal)]'-error-supressions' into 'master'

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

See merge request veloren/veloren!2627
This commit is contained in:
Marcel 2021-07-17 20:29:35 +00:00
commit aac3a3a5f7

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));
}