We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c008654 commit 67e6eb8Copy full SHA for 67e6eb8
src/pem.rs
@@ -27,10 +27,7 @@ pub trait PemObject: Sized {
27
/// Iterate over all sections of this type from PEM contained in
28
/// a byte slice.
29
fn pem_slice_iter(pem: &[u8]) -> SliceIter<'_, Self> {
30
- SliceIter {
31
- current: pem,
32
- _ty: PhantomData,
33
- }
+ SliceIter::new(pem)
34
}
35
36
/// Decode the first section of this type from the PEM contents of the named file.
0 commit comments