allow inlining (this did not provide a statistically significant performance boost - oh well)
This commit is contained in:
@@ -6,6 +6,7 @@ pub struct Ending {
|
||||
}
|
||||
|
||||
impl From<String> for Ending {
|
||||
#[inline]
|
||||
fn from(string: String) -> Ending {
|
||||
let lines: Vec<&str> = string.lines().collect();
|
||||
let id = lines[0].replace("END ", "").to_string();
|
||||
|
||||
Reference in New Issue
Block a user