mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 01:13:11 +00:00
![Michael Howell](/assets/img/avatar_default.png)
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) {}
|