rust/tests/rustdoc-js/search-bag-semantics.rs
Michael Howell 5451fe7d7c rustdoc: implement bag semantics for function parameter search
This tweak to the function signature search engine makes things so that,
if a type is repeated in the search query, it'll only match if the
function actually includes it that many times.
2023-03-19 18:19:24 -07:00

5 lines
74 B
Rust

pub struct P;
pub fn abracadabra(a: P, b: P) {}
pub fn alacazam(a: P) {}