From ad32921ed0fe84ac32672ceb35a04635cf6eecb4 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 6 Sep 2022 23:44:34 +0200 Subject: [PATCH] fix: docs bug --- packages/website/docs/Api/Danger.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/website/docs/Api/Danger.md b/packages/website/docs/Api/Danger.md index 8849a86a..61f64695 100644 --- a/packages/website/docs/Api/Danger.md +++ b/packages/website/docs/Api/Danger.md @@ -80,7 +80,7 @@ Danger.optimalAllocationGivenDiminishingMarginalReturnsForManyFunctions: (array< Example: ```js -Danger.optimalAllocationGivenDiminishingMarginalReturnsForManyFunctions({|x| 20-x}, {|y| 10}, 100, 0.01) +Danger.optimalAllocationGivenDiminishingMarginalReturnsForManyFunctions([{|x| 20-x}, {|y| 10}], 100, 0.01) ``` Note also that the array ought to have more than one function in it. \ No newline at end of file