Skip to content

Commit 84f82d3

Browse files
committed
Revert explicit lifetimes
1 parent 30187c8 commit 84f82d3

File tree

3 files changed

+160
-168
lines changed

3 files changed

+160
-168
lines changed

compiler/rustc_hir/src/hir.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@ pub struct GenericArgs<'hir> {
314314
pub parenthesized: bool,
315315
}
316316

317-
impl<'tcx> GenericArgs<'tcx> {
317+
impl GenericArgs<'_> {
318318
pub const fn none() -> Self {
319319
Self { args: &[], bindings: &[], parenthesized: false }
320320
}
321321

322-
pub fn inputs(&self) -> &[Ty<'tcx>] {
322+
pub fn inputs(&self) -> &[Ty<'_>] {
323323
if self.parenthesized {
324324
for arg in self.args {
325325
match arg {

0 commit comments

Comments
 (0)