From 01fb7324de4c289beb9b1b97fb515f8f501f28fa Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 3 Apr 2025 09:43:38 +0300 Subject: [PATCH] Fix a small mistake in String.init's docs There's no "mapping" parameter. I'm guessing this was a copy/paste mistake. --- src/FSharp.Core/string.fsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FSharp.Core/string.fsi b/src/FSharp.Core/string.fsi index e7c6ef062ad..9178af3fcf9 100644 --- a/src/FSharp.Core/string.fsi +++ b/src/FSharp.Core/string.fsi @@ -139,7 +139,7 @@ module String = [] val forall: predicate: (char -> bool) -> str: string -> bool - /// Builds a new string whose characters are the results of applying the function mapping + /// Builds a new string whose characters are the results of applying the function initializer /// to each index from 0 to count-1 and concatenating the resulting /// strings. ///