about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-hof.js
AgeCommit message (Collapse)AuthorLines
2025-08-15rustdoc-search: search backend with partitioned suffix treeMichael Howell-53/+53
2024-10-30rustdoc-search: pass original names through ASTMichael Howell-52/+34
2024-03-11rustdoc-search: add search query syntax `Fn(T) -> U`Michael Howell-0/+336
This is implemented, in addition to the ML-style one, because Rust does it. If we don't, we'll never hear the end of it. This commit also refactors some duplicate parts of the parser into a dedicated function.
2024-03-11rustdoc-search: parse and search with ML-style HOFMichael Howell-0/+376
Option::map, for example, looks like this: option<t>, (t -> u) -> option<u> This syntax searches all of the HOFs in Rust: traits Fn, FnOnce, and FnMut, and bare fn primitives.