tidyup
This commit is contained in:
parent
66cb9bdd4d
commit
46f8831c7b
@ -51,9 +51,7 @@ impl Sprite {
|
||||
format!("\n{}", lines.join("\n"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Sprite {
|
||||
pub fn from_str(str: &str) -> Result<Sprite, crate::Error> {
|
||||
let mut lines: Vec<&str> = str.lines().collect();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user