Skip to content

Commit

Permalink
Auto merge of rust-lang#16951 - lnicola:provenance-split-comment, r=l…
Browse files Browse the repository at this point in the history
…nicola

minor: Update comment on provenance_split

Hope I got this right `@dfireBird.`
  • Loading branch information
bors committed Mar 26, 2024
2 parents 0583aaa + 85947bb commit 4b33850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/hir-ty/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4b33850

Please sign in to comment.