mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
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:
commit
aac3a3a5f7
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user