diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2024-03-26 10:58:35 +0200 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2024-03-26 10:58:35 +0200 |
| commit | 85947bba495e5029500046b01a745658ea8fe108 (patch) | |
| tree | c5d79fe6ab824ded52f0ce8e672b1cfb6d818dba | |
| parent | 0583aaa5553365edb7099a6382bba55ee822c455 (diff) | |
| download | rust-85947bba495e5029500046b01a745658ea8fe108.tar.gz rust-85947bba495e5029500046b01a745658ea8fe108.zip | |
Update comment on provenance_split
| -rw-r--r-- | crates/hir-ty/src/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/utils.rs b/crates/hir-ty/src/utils.rs index 9b8a3e2dfbf..6a96ca804c9 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; |
