aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/handlers/introduce_named_lifetime.rs
diff options
context:
space:
mode:
authorPaul Daniel Faria <[email protected]>2020-07-31 03:31:53 +0100
committerPaul Daniel Faria <[email protected]>2020-08-16 15:26:16 +0100
commit3456e2eec7c1e18734f8fa41924a83b4c676dc00 (patch)
tree22c470056daeb136c64966cc4f4c976a8f45bf00 /crates/assists/src/handlers/introduce_named_lifetime.rs
parenta044ff0138d6bff9406b94de89fde43e7672ee1b (diff)
Add new method to Semantics, method_receiver_kind, which returns the kind of self
The options are Shared, Mutable, Consuming, and Copied. Use this to add proper highlighting to methods based on usage.
Diffstat (limited to 'crates/assists/src/handlers/introduce_named_lifetime.rs')
0 files changed, 0 insertions, 0 deletions