Skip to content

Commit f160122

Browse files
authored
correction
1 parent 71d9c09 commit f160122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Note regarding the return type of `@spawn`:
3434
* In contrast, the return type of `StableTasks.@spawn` may depend on any and all of the following:
3535
* the configuration of type inference in the Julia compiler
3636
* the return type of the input function
37-
* in particular, `typeof(StableTasks.@spawn 3) != typeof(StableTasks.@spawn 3.0)`, because `typeof(3) !== typeof(3.0)`
37+
* in particular, assuming type inference is precise, `typeof(StableTasks.@spawn 3) != typeof(StableTasks.@spawn 3.0)`, because `typeof(3) !== typeof(3.0)`
3838
* You should **not** write code that relies upon the exact return type of `StableTasks.@spawn` being concrete, or stable across versions. The return type in its parameter is available **only** as an optimization.
3939

4040
## `StableTasks.@spawnat`

0 commit comments

Comments
 (0)