mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
Updating doc with real links. (#851)
* Updating doc with real links. * Remove cache to make it build ?
This commit is contained in:
10
.github/workflows/python.yml
vendored
10
.github/workflows/python.yml
vendored
@ -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
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user