summaryrefslogtreecommitdiffstats
path: root/vendor/base64ct/src/decoder.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/base64ct/src/decoder.rs
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-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.rs2
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() {