diff options
Diffstat (limited to 'src/formats/inhx32.rs')
-rw-r--r-- | src/formats/inhx32.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formats/inhx32.rs b/src/formats/inhx32.rs index 8febeae..88780eb 100644 --- a/src/formats/inhx32.rs +++ b/src/formats/inhx32.rs @@ -21,7 +21,7 @@ pub fn format_inhx32(segments: &[Segment]) -> Result<Vec<u8>, FormatError> { for record in records { output.push_str(&record.to_string()); } - return Ok(output.as_bytes().to_vec()); + return Ok(output.into_bytes()); } fn data_record(words: &[Tracked<Word>], address: usize) -> Result<InhxRecord, FormatError> { |