tokio-rs / tokio

A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
https://tokio.rs
MIT License
25.44k stars 2.3k forks source link

Include relevant values in ReadBuf.put_slice() panic message #6580 #6629

Closed inventednight closed 3 weeks ago

inventednight commented 3 weeks ago

My first open source PR in a while, let me know what else is needed.

Motivation

Feature request for #6580.

Solution

Implemented as described.