Skip to content

Commit 6b64965

Browse files
Update crates/ty_python_semantic/src/types/function.rs
Co-authored-by: Micha Reiser <micha@reiser.io>
1 parent 6e71b21 commit 6b64965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ty_python_semantic/src/types/function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ pub struct FunctionType<'db> {
438438
/// Type mappings that should be applied to the function's parameter and return types. This
439439
/// might include specializations of enclosing generic contexts (e.g. for non-generic methods
440440
/// of a specialized generic class).
441-
#[returns(ref)]
441+
#[returns(deref)]
442442
type_mappings: Box<[TypeMapping<'db, 'db>]>,
443443
}
444444

0 commit comments

Comments
 (0)