Skip to content

Commit 3ebc1da

Browse files
Fix typos (#2137)
1 parent 48b150f commit 3ebc1da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mix/tasks/docs.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ defmodule Mix.Tasks.Docs do
304304
305305
#### Group metadata
306306
307-
By default, ExDoc respects the `:group` metadata field to dertermine in which
307+
By default, ExDoc respects the `:group` metadata field to determine in which
308308
group an element belongs:
309309
310310
@doc group: "Queries"
@@ -382,7 +382,7 @@ defmodule Mix.Tasks.Docs do
382382
Descriptions can also be given in the `:default_group_for_doc` configuration:
383383
384384
default_group_for_doc: fn metadata ->
385-
csae metadata[:group] do
385+
case metadata[:group] do
386386
:main_api -> "Main API"
387387
:helpers -> [title: "Helpers", description: "Functions shared with other modules."]
388388
_ -> nil

0 commit comments

Comments
 (0)