Skip to content

Commit

Permalink
Update src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: André Mello <3285133+asmello@users.noreply.github.com>
  • Loading branch information
chanced and asmello authored Jun 21, 2024
1 parent 1379710 commit e41844a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ impl fmt::Display for NotFoundError {
write!(f, "path starting at offset {} not found", self.offset)
}
}

#[cfg(feature = "std")]
impl std::error::Error for NotFoundError {}

Expand Down

0 comments on commit e41844a

Please sign in to comment.