• bhttp 0.3.0/src/lib.rs
    644
        #[cfg(feature = "read-http")]
    645
        #[allow(clippy::read_zero_byte_vec)] // https://github.com/rust-lang/rust-clippy/issues/9274
    646
        pub fn read_http<T, R>(r: &mut T) -> Res<Self>
  • netservices 0.1.0/src/session.rs
    179
        // Blocking
    180
        #[allow(clippy::read_zero_byte_vec, unused_variables)]
    181
        fn run_handshake(&mut self, stream: &mut impl NetStream) -> io::Result<()> {
  • ogg_pager 0.5.0/src/packets.rs
    65
    	/// ```
    66
    	#[allow(clippy::read_zero_byte_vec)]
    67
    	pub fn read_count<R>(data: &mut R, count: isize) -> Result<Self>
  • qiniu-etag 0.2.2/src/async_etag.rs
    30
    #[allow(clippy::read_zero_byte_vec)]
    31
    async fn _etag_of_reader_with_parts(
  • qiniu-etag 0.2.2/src/etag.rs
    111
    #[allow(clippy::read_zero_byte_vec)]
    112
    fn _etag_of_reader_with_parts(mut reader: impl Read, parts: &[usize], out: &mut GenericArray<u8, U28>) -> Result<()> {
  • rskafka_wasi 0.3.0/src/protocol/frame.rs
    39
    {
    40
        #[allow(clippy::read_zero_byte_vec)] // See https://github.com/rust-lang/rust-clippy/issues/9274
    41
        async fn read_message(&mut self, max_message_size: usize) -> Result<Vec<u8>, ReadError> {
  • rust-htslib 0.40.2/src/tbx/mod.rs
    333
        #[allow(clippy::read_zero_byte_vec)]
    334
        fn next(&mut self) -> Option<Result<Vec<u8>>> {
  • spectrusty-formats 0.4.0/src/z80/loader.rs
    196
        // clippy false positive: https://github.com/rust-lang/rust-clippy/issues/9274
    197
        #[allow(clippy::read_zero_byte_vec)] {
    198
        let mut buf = Vec::new();