mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
lib: fix documented type of fixedWidthString (#121396)
This commit is contained in:
parent
d77daaf10b
commit
8c70a1a989
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ rec {
|
||||||
This function will fail if the input string is longer than the
|
This function will fail if the input string is longer than the
|
||||||
requested length.
|
requested length.
|
||||||
|
|
||||||
Type: fixedWidthString :: int -> string -> string
|
Type: fixedWidthString :: int -> string -> string -> string
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
fixedWidthString 5 "0" (toString 15)
|
fixedWidthString 5 "0" (toString 15)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue