diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-28 19:54:15 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-28 19:54:15 +0100 |
commit | 84779a6f7da93bd6325f478c62c82cc0a1a2e341 (patch) | |
tree | 554971a930d84656bb952ba0f9a328ef08e70c72 /pkgs/lib/debug.nix | |
parent | e2d505b24e50e16e3634478d565c7c9988b1d90f (diff) | |
download | nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.gz nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.bz2 nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.lz nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.xz nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.zst nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.zip |
Remove unnecessary parentheses around if conditions
Pet peeve...
Diffstat (limited to 'pkgs/lib/debug.nix')
-rw-r--r-- | pkgs/lib/debug.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/lib/debug.nix b/pkgs/lib/debug.nix index b78f946c5d4..d627bc861ab 100644 --- a/pkgs/lib/debug.nix +++ b/pkgs/lib/debug.nix @@ -95,7 +95,7 @@ rec { else if isInt x then true else if x == null then true else true; # a (store) path? - in if (traverse x) then x else throw "else never reached"; + in if traverse x then x else throw "else never reached"; # example: (traceCallXml "myfun" id 3) will output something like # calling myfun arg 1: 3 result: 3 |