Handle getters and setters in documentation template assist

This commit is contained in:
Jonas Schievink 2022-05-16 19:10:38 +02:00
parent 825ce48180
commit f1b6e45fba
5 changed files with 252 additions and 55 deletions

View file

@ -1466,6 +1466,7 @@ impl Function {
}
// Note: logically, this belongs to `hir_ty`, but we are not using it there yet.
#[derive(Clone, Copy, PartialEq, Eq)]
pub enum Access {
Shared,
Exclusive,