allow Tile::from to be inlined
This commit is contained in:
@@ -11,6 +11,7 @@ pub struct Tile {
|
||||
}
|
||||
|
||||
impl From<String> for Tile {
|
||||
#[inline]
|
||||
fn from(string: String) -> Tile {
|
||||
let mut lines: Vec<&str> = string.lines().collect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user