refactor: fix variable name typos (#8267)

This commit is contained in:
linkmauve
2026-07-10 20:53:52 +02:00
committed by GitHub
parent c793a631f7
commit d5950a8890
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ fn advance_slices<'a>(bufs: &mut &mut [IoSlice<'a>], n: usize) {
*bufs = &mut std::mem::take(bufs)[remove..];
if let Some(first) = bufs.first_mut() {
let buf = &first[left..];
// necessary due to limitating in the borrow checker,
// Necessary due to a limitation in the borrow checker,
// when tokio MSRV reaches 1.81.0 this entire function
// can be replaced with `IoSlice::advance_slices`
//