diff --git a/base/gcutils.jl b/base/gcutils.jl index 113ba91436f807..b0af7afe28ebd2 100644 --- a/base/gcutils.jl +++ b/base/gcutils.jl @@ -12,7 +12,7 @@ Register a function `f(x)` to be called when there are no program-accessible ref this function is unpredictable. `f` must not cause a task switch, which excludes most I/O operations such as `println`. -`@schedule println("message")` or `ccall(:jl_, Void, (Any,), "message")` may be helpful for +`@schedule println("message")` or `ccall(:jl_, Nothing, (Any,), "message")` may be helpful for debugging purposes. """ function finalizer(@nospecialize(f), @nospecialize(o))