tidyup
This commit is contained in:
parent
66cb9bdd4d
commit
46f8831c7b
|
@ -255,7 +255,7 @@ impl Game {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! avatar_exists {
|
if ! avatar_exists {
|
||||||
warnings.push(crate::Error::Game { missing: NotFound::Avatar});
|
warnings.push(crate::Error::Game { missing: NotFound::Avatar });
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(
|
Ok(
|
||||||
|
|
|
@ -51,9 +51,7 @@ impl Sprite {
|
||||||
format!("\n{}", lines.join("\n"))
|
format!("\n{}", lines.join("\n"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
impl Sprite {
|
|
||||||
pub fn from_str(str: &str) -> Result<Sprite, crate::Error> {
|
pub fn from_str(str: &str) -> Result<Sprite, crate::Error> {
|
||||||
let mut lines: Vec<&str> = str.lines().collect();
|
let mut lines: Vec<&str> = str.lines().collect();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue