Skip to content

Commit 8d409eb

Browse files
authored
Correct documentation to align with callback types (#498)
1 parent b697114 commit 8d409eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ecto/adapter/structure.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defmodule Ecto.Adapter.Structure do
99
The path will be looked in the `config` under :dump_path or
1010
default to the structure path inside `default`.
1111
12-
Returns `:ok` if it was dumped successfully, an error tuple otherwise.
12+
Returns an `:ok` tuple if it was dumped successfully, an error tuple otherwise.
1313
1414
## Examples
1515
@@ -27,7 +27,7 @@ defmodule Ecto.Adapter.Structure do
2727
The path will be looked in the `config` under :dump_path or
2828
default to the structure path inside `default`.
2929
30-
Returns `:ok` if it was loaded successfully, an error tuple otherwise.
30+
Returns an `:ok` tuple if it was loaded successfully, an error tuple otherwise.
3131
3232
## Examples
3333

0 commit comments

Comments
 (0)