Clean up code (fix warnings)

This commit is contained in:
hal8174 2025-03-06 21:53:29 +01:00
parent 642f815f9d
commit 8e268f7612
4 changed files with 12 additions and 24 deletions

View file

@ -1,11 +1,10 @@
use std::collections::HashMap;
use factorio_blueprint::abstraction::{Blueprint, Entity};
use factorio_core::{beltoptions::Beltspeed, prelude::*, visualize::Visualize};
use factorio_layout::{Connection, Interface, LayoutInput, Layouter, MacroBlock};
use factorio_pathfinding::Pathfinder;
use rand::{Rng, SeedableRng, seq::IndexedRandom};
use rand::{Rng, SeedableRng};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use crate::{
assembly::assembly_line_2_input,
@ -256,7 +255,7 @@ pub fn generate_factory<L: Layouter, P: Pathfinder + Sync, R: Rng + SeedableRng
}
}
Building::ExternalConnection => {
let step = 1;
// let step = 1;
// static_input.extend((0..*inputs).map(|y| Interface {
// offset: Position::new(
// -1,