Skip to content

Commit

Permalink
Merge pull request gimli-rs#295 from philipc/readref
Browse files Browse the repository at this point in the history
Add missed defaults for ReadRef type parameters
  • Loading branch information
philipc authored May 4, 2021
2 parents c6dc1fa + 2f69c75 commit da5f572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/read/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl<'data, R: ReadRef<'data>> ArchiveFile<'data, R> {

/// An iterator over the members of an archive.
#[derive(Debug)]
pub struct ArchiveMemberIterator<'data, R: ReadRef<'data>> {
pub struct ArchiveMemberIterator<'data, R: ReadRef<'data> = &'data [u8]> {
data: R,
offset: u64,
len: u64,
Expand Down

0 comments on commit da5f572

Please sign in to comment.