Remove mention of core2

We no longer depend on `core2`, remove stale code comment mention of the
crate.

Fix: #2034
This commit is contained in:
Tobin C. Harding 2024-01-16 09:44:00 +11:00
parent 52b239ef70
commit 2dfe455161
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 0 additions and 1 deletions

View File

@ -195,7 +195,6 @@ where
}
}
// core2 doesn't have read_to_end
pub(crate) fn read_to_end<D: Read + ?Sized>(d: &mut D) -> Result<Vec<u8>, io::Error> {
let mut result = vec![];
let mut buf = [0u8; 64];