Skip to content

Commit

Permalink
Merge branch 'master' into joaks/fxtest_lc_timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobOaks authored May 21, 2024
2 parents b9474be + abda254 commit 5054ff7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions annotated.go
Original file line number Diff line number Diff line change
Expand Up @@ -1164,6 +1164,9 @@ var _ Annotation = (*asAnnotation)(nil)
// return w, r
// }
//
// As entirely replaces the default return types of a function. In order
// to maintain the original return types when using As, see [Self].
//
// As annotation cannot be used in a function that returns an [Out] struct as a return type.
func As(interfaces ...interface{}) Annotation {
return &asAnnotation{targets: interfaces}
Expand Down

0 comments on commit 5054ff7

Please sign in to comment.