diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
commit | 9835e2ae736235810b4ea1c162ca5e65c547e770 (patch) | |
tree | 3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/base64ct/src/decoder.rs | |
parent | Releasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff) | |
download | rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip |
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/base64ct/src/decoder.rs')
-rw-r--r-- | vendor/base64ct/src/decoder.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vendor/base64ct/src/decoder.rs b/vendor/base64ct/src/decoder.rs index 8d500b578..b10104691 100644 --- a/vendor/base64ct/src/decoder.rs +++ b/vendor/base64ct/src/decoder.rs @@ -166,7 +166,6 @@ impl<'i, E: Encoding> Decoder<'i, E> { /// If successful, this function will return the total number of bytes /// decoded into `buf`. #[cfg(feature = "alloc")] - #[cfg_attr(docsrs, doc(cfg(feature = "alloc")))] pub fn decode_to_end<'o>(&mut self, buf: &'o mut Vec<u8>) -> Result<&'o [u8], Error> { let start_len = buf.len(); let remaining_len = self.remaining_len(); @@ -249,7 +248,6 @@ impl<'i, E: Encoding> Decoder<'i, E> { } #[cfg(feature = "std")] -#[cfg_attr(docsrs, doc(cfg(feature = "std")))] impl<'i, E: Encoding> io::Read for Decoder<'i, E> { fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> { if self.is_finished() { |