Skip to content

Commit

Permalink
Merge pull request #472 from khuey/warning
Browse files Browse the repository at this point in the history
Silence warning.
  • Loading branch information
fitzgen authored Feb 27, 2020
2 parents 5002b72 + 9fe087d commit 15bea8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/read/unit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2737,7 +2737,7 @@ impl<'abbrev, 'unit, R: Reader> EntriesCursor<'abbrev, 'unit, R> {
/// ```
pub fn next_sibling(
&mut self,
) -> Result<Option<(&DebuggingInformationEntry<'abbrev, 'unit, R>)>> {
) -> Result<Option<&DebuggingInformationEntry<'abbrev, 'unit, R>>> {
if self.current().is_none() {
// We're already at the null for the end of the sibling list.
return Ok(None);
Expand Down

0 comments on commit 15bea8e

Please sign in to comment.