File tree Expand file tree Collapse file tree
crates/ty_python_semantic/src/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -623,10 +623,7 @@ impl<'db> FunctionLiteral<'db> {
623623 /// calling query is not in the same file as this function is defined in, then this will create
624624 /// a cross-module dependency directly on the full AST which will lead to cache
625625 /// over-invalidation.
626- fn signature < ' a > ( self , db : & ' db dyn Db ) -> CallableSignature < ' db >
627- where
628- ' db : ' a ,
629- {
626+ fn signature ( self , db : & ' db dyn Db ) -> CallableSignature < ' db > {
630627 // We only include an implementation (i.e. a definition not decorated with `@overload`) if
631628 // it's the only definition.
632629 let inherited_generic_context = self . inherited_generic_context ( db) ;
@@ -654,10 +651,7 @@ impl<'db> FunctionLiteral<'db> {
654651 /// calling query is not in the same file as this function is defined in, then this will create
655652 /// a cross-module dependency directly on the full AST which will lead to cache
656653 /// over-invalidation.
657- fn last_definition_signature < ' a > ( self , db : & ' db dyn Db ) -> Signature < ' db >
658- where
659- ' db : ' a ,
660- {
654+ fn last_definition_signature ( self , db : & ' db dyn Db ) -> Signature < ' db > {
661655 let inherited_generic_context = self . inherited_generic_context ( db) ;
662656 self . last_definition ( db)
663657 . signature ( db, inherited_generic_context)
You can’t perform that action at this time.
0 commit comments