Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/generics.rs')
| -rw-r--r-- | crates/hir-ty/src/generics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/generics.rs b/crates/hir-ty/src/generics.rs index c4321e8a61..51c6eeac34 100644 --- a/crates/hir-ty/src/generics.rs +++ b/crates/hir-ty/src/generics.rs @@ -143,7 +143,7 @@ impl<'db> Generics<'db> { self.chain.iter() } - fn owner(&self) -> &SingleGenerics<'db> { + pub(crate) fn owner(&self) -> &SingleGenerics<'db> { self.chain.last().expect("must have an owner params") } |