remove inlining

This commit is contained in:
2020-07-19 08:42:03 +01:00
parent 3de82cbacc
commit f08f0fdc16
16 changed files with 1 additions and 84 deletions

View File

@@ -5,7 +5,6 @@ pub struct Variable {
}
impl From<String> for Variable {
#[inline]
fn from(string: String) -> Variable {
let id_value: Vec<&str> = string.lines().collect();
let id = id_value[0].replace("VAR ", "").to_string();
@@ -21,7 +20,6 @@ impl From<String> for Variable {
}
impl ToString for Variable {
#[inline]
fn to_string(&self) -> String {
format!("VAR {}\n{}", self.id, self.initial_value)
}