clear unused import

This commit is contained in:
Max Bradbury 2021-05-17 20:51:32 +01:00
parent 11382a293e
commit 5b2d2cc510
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
use std::fs::read_to_string;
use std::path::PathBuf; use std::path::PathBuf;
use serde_derive::{Serialize, Deserialize}; use serde_derive::{Serialize, Deserialize};
use crate::Position;
use std::fs::read_to_string;
#[derive(Debug, Eq, PartialEq)] #[derive(Debug, Eq, PartialEq)]
pub struct Scene { pub struct Scene {
@ -24,7 +23,7 @@ impl Scene {
for name in intermediate.background.iter() { for name in intermediate.background.iter() {
match name.as_ref() { match name.as_ref() {
"" => background.push(None), "" => background.push(None),
_ => background.push(Some(name.to_owned())), _ => background.push(Some(name.to_owned())),
} }
} }