mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 02:43:45 +00:00

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.
5 lines
74 B
Rust
5 lines
74 B
Rust
pub struct P;
|
|
|
|
pub fn abracadabra(a: P, b: P) {}
|
|
pub fn alacazam(a: P) {}
|