mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
lib/strings: fix quoting of example
Co-authored-by: Silvan Mosberger <github@infinisil.com>
This commit is contained in:
committed by
GitHub
parent
226bc99659
commit
535997fa52
@@ -350,7 +350,7 @@ rec {
|
||||
|
||||
Example:
|
||||
''
|
||||
${toShellVar foo "some string"}
|
||||
${toShellVar "foo" "some string"}
|
||||
[[ "$foo" == "some string" ]]
|
||||
''
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user