Remove | unuse import
This commit is contained in:
parent
4111a39ecb
commit
0a1a6adce1
@ -11,7 +11,7 @@ use rapier2d_f64::prelude::*;
|
||||
|
||||
#[pyfunction]
|
||||
#[pyo3(name = "simulation")]
|
||||
pub fn simulation() -> () {
|
||||
pub fn simulation() {
|
||||
let mut rigid_body_set = RigidBodySet::new();
|
||||
let mut collider_set = ColliderSet::new();
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
use std::error::Error;
|
||||
use std::fs;
|
||||
|
||||
use pyo3::prelude::*;
|
||||
@ -7,10 +6,8 @@ use serde::{Deserialize, Serialize};
|
||||
use serde_xml_rs::from_str;
|
||||
use serde_xml_rs::Error as XmlError;
|
||||
|
||||
use super::part_list::SR1PartTypeEnum;
|
||||
|
||||
use crate::data_type::sr1::{IdType, SR1PartData, SR1PartDataAttr, SR1Ship};
|
||||
use crate::data_type::sr1::{SR1PartDataTrait, SR1PartTypeAttr, SR1ShipTrait};
|
||||
use crate::data_type::sr1::{SR1PartDataTrait, SR1ShipTrait};
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
#[serde(rename = "Ship")]
|
||||
|
@ -1,7 +1,6 @@
|
||||
use std::io;
|
||||
|
||||
use fs_err as fs;
|
||||
use xml::reader::*;
|
||||
|
||||
// Input the directory of the xml file.
|
||||
// If file does not exsit or not the XML file, return errors or return file handle.
|
||||
|
Loading…
Reference in New Issue
Block a user