From 195fe01e8bd258b5f4475203c9fd72b69c87a22f Mon Sep 17 00:00:00 2001 From: Alex Brandt Date: Mon, 30 Nov 2020 20:56:33 +0000 Subject: [PATCH] nixos/nixpkgs/docs: fix typo in assertOneOf example This example was confusing at first because the element the message indicated wasn't in the list of possible values was but the possible values didn't match up either. This ensures the example is consistent with the logic being presented. --- doc/functions/library/asserts.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/functions/library/asserts.xml b/doc/functions/library/asserts.xml index 10891039e86..7c94222ef13 100644 --- a/doc/functions/library/asserts.xml +++ b/doc/functions/library/asserts.xml @@ -103,7 +103,7 @@ stderr> assert failed Ensuring a user provided a possible value false stderr> trace: sslLibrary must be one of "openssl", "libressl", but is: "bearssl" ]]>