fix: standardize cross-reference link text for Pattern 10 subsection
This commit is contained in:
@@ -215,7 +215,7 @@ def chunk(list, size), do: ...
|
|||||||
**Don't use this when:**
|
**Don't use this when:**
|
||||||
- The function is private (use `# comments` for private function notes)
|
- The function is private (use `# comments` for private function notes)
|
||||||
- The function name + typespec are completely self-explanatory (e.g., `@spec pid() :: pid()`)
|
- The function name + typespec are completely self-explanatory (e.g., `@spec pid() :: pid()`)
|
||||||
- You're implementing a behaviour callback — `@impl true` sets `@doc false` automatically. Override only when the implementation has semantics the behaviour can't speak to (see [Pattern 10](#when-to-override-doc-false-on-impl-functions))
|
- You're implementing a behaviour callback — `@impl true` sets `@doc false` automatically. Override only when the implementation has semantics the behaviour can't speak to (see [Pattern 10 — implementation-side docs](#when-to-override-doc-false-on-impl-functions))
|
||||||
|
|
||||||
**Over-application example:**
|
**Over-application example:**
|
||||||
```elixir
|
```elixir
|
||||||
|
|||||||
Reference in New Issue
Block a user