Skip to content

Commit

Permalink
Future-proof the Item by marking it non-exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
farcaller committed Feb 4, 2022
1 parent f6760a2 commit 9a7e4a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pemfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use base64;
use std::io::{self, ErrorKind};

/// The contents of a single recognised block in a PEM file.
#[non_exhaustive]
#[derive(Debug, PartialEq)]
pub enum Item {
/// A DER-encoded x509 certificate.
Expand Down

0 comments on commit 9a7e4a8

Please sign in to comment.