From 9835e2ae736235810b4ea1c162ca5e65c547e770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:50 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/pem-rfc7468/src/encoder.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'vendor/pem-rfc7468/src/encoder.rs') diff --git a/vendor/pem-rfc7468/src/encoder.rs b/vendor/pem-rfc7468/src/encoder.rs index 016e224c6..c48df1f62 100644 --- a/vendor/pem-rfc7468/src/encoder.rs +++ b/vendor/pem-rfc7468/src/encoder.rs @@ -119,7 +119,6 @@ pub fn encode<'o>( /// Encode a PEM document according to RFC 7468's "Strict" grammar, returning /// the result as a [`String`]. #[cfg(feature = "alloc")] -#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))] pub fn encode_string(label: &str, line_ending: LineEnding, input: &[u8]) -> Result { let expected_len = encoded_len(label, line_ending, input)?; let mut buf = vec![0u8; expected_len]; @@ -287,7 +286,6 @@ impl<'l, 'o> Encoder<'l, 'o> { } #[cfg(feature = "std")] -#[cfg_attr(docsrs, doc(cfg(feature = "std")))] impl<'l, 'o> io::Write for Encoder<'l, 'o> { fn write(&mut self, buf: &[u8]) -> io::Result { self.encode(buf)?; -- cgit v1.2.3