diff options
author | IceSentry <[email protected]> | 2020-04-08 22:48:16 +0100 |
---|---|---|
committer | IceSentry <[email protected]> | 2020-04-08 22:48:16 +0100 |
commit | 2a582b78a5f9c1fa908fe5f4c9ff4ab2966adb2e (patch) | |
tree | dbafffe37940a2a641abc338c1a6139120717f1a /crates/ra_prof | |
parent | 779555c1beac90f633c01a773558c4007c99c97f (diff) |
Add more heuristics for hiding obvious param hints
This will now hide "value", "pat", "rhs" and "other"
These words were selected from the std because they are used in common functions with only a single param and are obvious by their use.
I think it would be good to also hide "bytes" if the type is `[u8; n]` but I'm not sure how to get the param type signature
It will also hide the hint if the passed param starts or end with the param_name
Diffstat (limited to 'crates/ra_prof')
0 files changed, 0 insertions, 0 deletions