Skip to content

Commit

Permalink
docs: add links to string context documentation
Browse files Browse the repository at this point in the history
operators are an everyday thing in the Nix language, and this page will
hopefully be consulted by many users.
string contexts are quite exotic, and not linking to the detailed
explanation will require readers to figure out manually what this is
about, or worse, skim over and run into problems later.
  • Loading branch information
fricklerhandwerk authored and Mic92 committed Nov 6, 2024
1 parent 51add3f commit 3086191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual/source/language/operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The `+` operator is overloaded to also work on strings and paths.
>
> *string* `+` *string*
Concatenate two [strings][string] and merge their string contexts.
Concatenate two [strings][string] and merge their [string contexts](./string-context.md).

[String concatenation]: #string-concatenation

Expand All @@ -128,7 +128,7 @@ The result is a path.

> **Note**
>
> The string must not have a string context that refers to a [store path].
> The string must not have a [string context](./string-context.md) that refers to a [store path].
[Path and string concatenation]: #path-and-string-concatenation

Expand Down

0 comments on commit 3086191

Please sign in to comment.