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: ACK2dfe455161
apoelstra: ACK2dfe455161
Tree-SHA512: cb723a384cd69e5b1aa70bdb25f53c818092c465783bd8a9b1ec60af488ed013d39f29057b4b09d6347b8bc52911eb6daf609bd088dec172647dbfedc2ea1791
This commit is contained in:
commit
6702f1a144
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue