Anki/rslib
a.r dc5fa60c8b
typeanswer: cleanups (#3415)
* typeanswer: cleanups

no functional change

* typeanswer: disambiguate

no functional change

* typeanswer: reorder

* typeanswer: skip DiffContext if nothing typed

No use to run all that code without input.

* typeanswer: skip tokenization if input is correct

No use in this case.

* typeanswer: make repo check happy (.map → .fold)

Either a new check or the call was too complex previously for it to trigger?

* Add to contributors

* typeanswer: remove slice_* functions

They're used only once in to_tokens. Easier to read this way IMHO, anyway.
2024-09-25 20:15:16 +10:00
..
benches Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
i18n Bump Rust to 1.81 for latest CVE 2024-09-05 12:39:59 +07:00
io Add remove_dir_all() 2023-11-22 17:41:45 +10:00
linkchecker Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
process Corrected minor non-idiomatic snippet of code (#3108) 2024-04-01 11:34:23 +01:00
proto Integrate AnkiHub Sign-in (#3232) 2024-08-17 10:58:23 +07:00
proto_gen Update to Rust 1.80 2024-08-05 15:37:59 +07:00
src typeanswer: cleanups (#3415) 2024-09-25 20:15:16 +10:00
sync Add distroless Dockerfile and implement internal health check (#3366) 2024-08-29 17:05:33 +07:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
build.rs Fix building outside workspace 2023-07-02 18:22:44 +10:00
Cargo.toml Dependency updates (#3403) 2024-09-04 12:21:50 +07:00
README.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
rust_interface.rs Update nightly formatter 2023-09-02 16:13:50 +10:00

Anki's Rust code.