mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
clippy
This commit is contained in:
parent
7fdaa5b91f
commit
b0e0c14dd8
2 changed files with 2 additions and 5 deletions
|
@ -210,7 +210,7 @@ pub struct RelocationSection<'a> {
|
|||
|
||||
impl<'a> Serialize for RelocationSection<'a> {
|
||||
fn serialize<T: SerialBuffer>(&self, buffer: &mut T) {
|
||||
let header_indices = write_custom_section_header(buffer, &self.name);
|
||||
let header_indices = write_custom_section_header(buffer, self.name);
|
||||
buffer.encode_u32(self.target_section_index);
|
||||
serialize_vector_with_count(buffer, self.entries);
|
||||
update_section_size(buffer, header_indices);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue