diff options
| author | Klemens Nanni <klemens@posteo.de> | 2022-04-27 05:42:16 +0200 |
|---|---|---|
| committer | Klemens Nanni <klemens@posteo.de> | 2022-04-27 05:59:46 +0200 |
| commit | 7bec3e60efb9203c444bfaf8f35cfb1252ece170 (patch) | |
| tree | fd99f9360db9fe84ffe6c15e1a2c3a40d8f44f67 /pkgs/development/python-modules/rangehttpserver | |
| parent | d9e593ed5889f3906dc72811c45bf684be8865cf (diff) | |
lib/types: Drop misleading plural from type descriptions #170561
Probably being the most prominent document demonstrating the problem,
configuration.nix(5) describes various types in plural, e.g.
- ` Type: list of strings`
- ` Type: list of systemd options`
However, there are other cases where appending "s" to the inner type
effectively changes the type, e.g.
- ```
Type: list of string matching the pattern
[a-zA-Z0-9@%:_.\-]+[.](service|socket|device|mount|automount|swap|target|path|timer|scope|slice)s
```
This should've read "list of string[s]..." but instead changes the
regular expression.
Simply drop the best-effort plural in favour of correctness and
simplicity rather than adding more grammar related logic/trying to fix
this.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
