Skip to content

Commit fefc990

Browse files
committed
Improve warning
1 parent e4dc773 commit fefc990

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/copyable_task.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,9 @@ will generate the appropriate methods needed to ensure that `Libtask.might_produ
368368
keyword arguments.
369369
370370
!!! note
371-
Because `@might_produce f` is applied to all possible signatures, there may be
372-
performance penalties associated with marking `f` as produceable if it is only
373-
applicable to a specific method signature. If performance is critical, please use the
371+
Because `@might_produce f` is applied to all possible signatures, there are performance
372+
penalties associated with marking all methods of `f` as produceable if only one method
373+
can actually call `produce`. If performance is critical, please use the
374374
[`might_produce`](@ref) function directly.
375375
376376
```jldoctest might_produce_macro

0 commit comments

Comments
 (0)