allow Tile::from to be inlined
This commit is contained in:
parent
53204ba0f8
commit
e249727c3e
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue