Updating doc with real links. (#851)

* Updating doc with real links.

* Remove cache to make it build ?
This commit is contained in:
Nicolas Patry
2021-12-17 17:50:24 +01:00
committed by GitHub
parent c1100ec542
commit b240ccb68a
2 changed files with 7 additions and 7 deletions

View File

@ -69,11 +69,11 @@ jobs:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache Cargo Build Target
uses: actions/cache@v1
with:
path: ./bindings/python/target
key: ${{ runner.os }}-cargo-python-build-${{ hashFiles('**/Cargo.lock') }}
# - name: Cache Cargo Build Target
# uses: actions/cache@v1
# with:
# path: ./bindings/python/target
# key: ${{ runner.os }}-cargo-python-build-${{ hashFiles('**/Cargo.lock') }}
- name: Lint with RustFmt
uses: actions-rs/cargo@v1

View File

@ -1,6 +1,6 @@
//! This comes from the Rust libcore and is duplicated here because it is not exported
//! (cf https://github.com/rust-lang/rust/blob/25091ed9b7739e12466fb2490baa1e8a2815121c/src/libcore/iter/adapters/mod.rs#L2664)
//! We are now using the version from https://stackoverflow.com/questions/44544323/how-to-unzip-a-sequence-of-resulta-b-e-to-a-veca-vecb-and-stop-on-f
//! (cf <https://github.com/rust-lang/rust/blob/25091ed9b7739e12466fb2490baa1e8a2815121c/src/libcore/iter/adapters/mod.rs#L2664>)
//! We are now using the version from <https://stackoverflow.com/questions/44544323/how-to-unzip-a-sequence-of-resulta-b-e-to-a-veca-vecb-and-stop-on-f>
//! because the one from the libcore seems to cause overflowing stacks in some cases
//! It also contains a lines_with_ending that copies std::io::BufRead but keeps line endings.
use std::io::BufRead;