refactor(http1): fix for unused must_use on read_buf.split_to

This commit is contained in:
Sean McArthur
2019-12-12 13:27:46 -08:00
parent d1f6136ce2
commit e12329054a

View File

@@ -136,7 +136,7 @@ where
_ => break,
}
}
self.read_buf.split_to(i);
self.read_buf.advance(i);
}
}