From 92a848f674f371d675f461d2a7a6810d492dd4ea Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 11 Mar 2014 13:16:21 +0100 Subject: [PATCH] Fix typos --- doc/manual/release-notes.xml | 4 ++-- doc/manual/writing-nix-expressions.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 44762d1d6..8eb59ab49 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -26,8 +26,8 @@ case where the attribute name is just a single antiquotation, the quotes can be dropped (e.g. the above example can be written set.${foo}). If an attribute name inside of a - set declaration evaluates to "${null}" (e.g. - { ${null} = false; }), then that attribute is not added + set declaration evaluates to null (e.g. + { ${null} = false; }), then that attribute is not added to the set. diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml index 873dc21a5..5585e89fe 100644 --- a/doc/manual/writing-nix-expressions.xml +++ b/doc/manual/writing-nix-expressions.xml @@ -872,7 +872,7 @@ coerced to a string and 456 otherwise (again assuming bar is antiquotable). In the special case where an attribute name inside of a set declaration -evaluates to "${null}" (which is normally an error, as +evaluates to null (which is normally an error, as null is not antiquotable), that attribute is simply not added to the set: