diff --git a/src/main.rs b/src/main.rs index 3c2110f..135d442 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,12 +64,14 @@ impl From for CifError { type Result = std::result::Result; +#[inline] fn join_to_arraystring(elems: &[&str], str: &mut ArrayString) -> Result<()> { for (i, item) in elems.iter().enumerate() { if i > 0 { str.try_push(' ')?; } str.try_push_str(item)?; + //str.push_str(item); } Ok(()) } @@ -85,6 +87,7 @@ fn lines_read_noempty(lines: &mut UnsafeLines) -> Result Result<()> { if s.is_empty() || s.as_bytes()[0] == 32 || s.as_bytes()[s.len() - 1] == 32 { return Err(IllegalWhitespaceError(s.to_string()))