Skip to content

Commit

Permalink
pem::Error: make non_exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
ctz committed Sep 4, 2024
1 parent f39d92b commit 59cc6bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pub enum Item {

/// Errors that may arise when parsing the contents of a PEM file
#[derive(Debug, PartialEq)]
#[non_exhaustive]
pub enum Error {
/// a section is missing its "END marker" line
MissingSectionEnd {
Expand Down

0 comments on commit 59cc6bd

Please sign in to comment.