Skip to content

Commit 6fc2a85

Browse files
committed
wording
1 parent 07a6a5c commit 6fc2a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/guides/faq.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ Use a $ to separate outer from inner class name. For example: `java.util.Map$Ent
295295
Primitive types can be found as the static TYPE field on the boxed class, for example: `Integer/TYPE`.
296296

297297
[[return_type_hint]]
298-
**<<faq#return_type_hint,How do you type hint a method return type?>>**
298+
**<<faq#return_type_hint,How do you type hint a function return type?>>**
299299

300300
Return <<xref/../../../reference/java_interop#typehints,type hints>> can sometimes be useful to flow Java type information out of functions. To provide a return type hint, placed it on the function parameter vector:
301301

0 commit comments

Comments
 (0)