Merge rust-bitcoin/rust-bitcoin#2342: Remove mention of core2

2dfe455161 Remove mention of core2 (Tobin C. Harding)

Pull request description:

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

  Fix: #2034

ACKs for top commit:
  Kixunil:
    ACK 2dfe455161
  apoelstra:
    ACK 2dfe455161

Tree-SHA512: cb723a384cd69e5b1aa70bdb25f53c818092c465783bd8a9b1ec60af488ed013d39f29057b4b09d6347b8bc52911eb6daf609bd088dec172647dbfedc2ea1791
This commit is contained in:
Andrew Poelstra 2024-01-16 01:34:55 +00:00
commit 6702f1a144
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
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> { pub(crate) fn read_to_end<D: Read + ?Sized>(d: &mut D) -> Result<Vec<u8>, io::Error> {
let mut result = vec![]; let mut result = vec![];
let mut buf = [0u8; 64]; let mut buf = [0u8; 64];