Skip to content

Commit ca587aa

Browse files
authored
docs: fix undefined c:block/4 callback reference (#1737)
1 parent 221ecbc commit ca587aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nx/lib/nx.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6890,7 +6890,7 @@ defmodule Nx do
68906890
implementation `fun` receives the struct first and then each argument in
68916891
order (`apply(fun, [struct | args])`).
68926892
6893-
The backend’s `c:block/4` receives `struct`, `output`, `args`, and `fun`, and
6893+
The backend’s `c:Nx.Backend.block/4` receives `struct`, `output`, `args`, and `fun`, and
68946894
should either run a native implementation or invoke the default as
68956895
`apply(fun, [struct | args])`.
68966896
"""

0 commit comments

Comments
 (0)