Resolve warnings
This commit is contained in:
parent
dfdeae5638
commit
b715c4ad06
18 changed files with 48 additions and 35 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use factorio_blueprint::{
|
||||
Blueprint, BlueprintEntity, BlueprintPosition, belt::convert_to_blueprint, misc::Beltspeed,
|
||||
Blueprint, BlueprintEntity, BlueprintPosition, belt::convert_to_blueprint,
|
||||
};
|
||||
use factorio_core::{pathfield::PathField, prelude::*};
|
||||
use factorio_core::{beltoptions::Beltspeed, pathfield::PathField, prelude::*};
|
||||
|
||||
pub fn generate_4_lane_balancer() -> Blueprint {
|
||||
let mut e = vec![
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
use clap::{Parser, Subcommand};
|
||||
use factorio_blueprint::{
|
||||
BlueprintBook, BlueprintBookEntry, BlueprintString, encode,
|
||||
misc::{Beltspeed, Belttype},
|
||||
};
|
||||
use factorio_blueprint::{BlueprintBook, BlueprintBookEntry, BlueprintString, encode};
|
||||
use factorio_blueprint_generator::station::basic_unload_station;
|
||||
use factorio_core::beltoptions::{Beltspeed, Belttype};
|
||||
|
||||
#[derive(Parser)]
|
||||
struct Args {
|
||||
|
|
|
|||
|
|
@ -1,14 +1,10 @@
|
|||
use std::sync::Arc;
|
||||
|
||||
use factorio_blueprint::{
|
||||
Blueprint, BlueprintEntity, BlueprintPosition,
|
||||
misc::{Beltspeed, Belttype},
|
||||
};
|
||||
use factorio_blueprint::{Blueprint, BlueprintEntity, BlueprintPosition};
|
||||
use factorio_core::beltoptions::{Beltspeed, Belttype};
|
||||
|
||||
pub fn station_unload(
|
||||
length: usize,
|
||||
locomotives: usize,
|
||||
unloader: &Vec<BlueprintEntity>,
|
||||
unloader: &[BlueprintEntity],
|
||||
beltspeed: Beltspeed,
|
||||
outputs: usize,
|
||||
output_x: f64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue