Revert explicit lifetimes
This commit is contained in:
parent
30187c81f6
commit
84f82d348c
3 changed files with 160 additions and 168 deletions
|
@ -314,12 +314,12 @@ pub struct GenericArgs<'hir> {
|
|||
pub parenthesized: bool,
|
||||
}
|
||||
|
||||
impl<'tcx> GenericArgs<'tcx> {
|
||||
impl GenericArgs<'_> {
|
||||
pub const fn none() -> Self {
|
||||
Self { args: &[], bindings: &[], parenthesized: false }
|
||||
}
|
||||
|
||||
pub fn inputs(&self) -> &[Ty<'tcx>] {
|
||||
pub fn inputs(&self) -> &[Ty<'_>] {
|
||||
if self.parenthesized {
|
||||
for arg in self.args {
|
||||
match arg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue