From 85947bba495e5029500046b01a745658ea8fe108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Tue, 26 Mar 2024 10:58:35 +0200 Subject: [PATCH] Update comment on provenance_split --- crates/hir-ty/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir-ty/src/utils.rs b/crates/hir-ty/src/utils.rs index 9b8a3e2dfb..6a96ca804c 100644 --- a/crates/hir-ty/src/utils.rs +++ b/crates/hir-ty/src/utils.rs @@ -387,7 +387,7 @@ impl Generics { self.params.type_or_consts.len() } - /// (parent total, self param, type param list, const param list, impl trait) + /// (parent total, self param, type params, const params, impl trait list, lifetimes) pub(crate) fn provenance_split(&self) -> (usize, usize, usize, usize, usize, usize) { let mut self_params = 0; let mut type_params = 0;