Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit 9a7e4a8

Browse files
committed
Future-proof the Item by marking it non-exhaustive
1 parent f6760a2 commit 9a7e4a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pemfile.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use base64;
22
use std::io::{self, ErrorKind};
33

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

0 commit comments

Comments
 (0)