Skip to content

Commit

Permalink
Fix a new clippy warning
Browse files Browse the repository at this point in the history
davidlattimore committed Sep 2, 2024
1 parent 3467e0b commit c90b6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linker-diff/src/section_map.rs
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ pub(crate) struct IndexedLayout<'data> {
}

impl<'data> IndexedLayout<'data> {
pub(crate) fn new(layout_and_files: &'data LayoutAndFiles) -> Result<IndexedLayout> {
pub(crate) fn new(layout_and_files: &'data LayoutAndFiles) -> Result<IndexedLayout<'data>> {
let mut files = Vec::with_capacity(layout_and_files.layout.files.len());
let mut sections = Vec::new();
for ((file_index, file), object_bytes) in layout_and_files

0 comments on commit c90b6a5

Please sign in to comment.