Skip to content

Commit 4b33850

Browse files
committed
Auto merge of rust-lang#16951 - lnicola:provenance-split-comment, r=lnicola
minor: Update comment on provenance_split Hope I got this right `@dfireBird.`
2 parents 0583aaa + 85947bb commit 4b33850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-ty/src/utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ impl Generics {
387387
self.params.type_or_consts.len()
388388
}
389389

390-
/// (parent total, self param, type param list, const param list, impl trait)
390+
/// (parent total, self param, type params, const params, impl trait list, lifetimes)
391391
pub(crate) fn provenance_split(&self) -> (usize, usize, usize, usize, usize, usize) {
392392
let mut self_params = 0;
393393
let mut type_params = 0;

0 commit comments

Comments
 (0)