Skip to content

Commit 0566db0

Browse files
authored
Fix a small mistake in String.init's docs (#18438)
There's no "mapping" parameter. I'm guessing this was a copy/paste mistake.
1 parent b1490e3 commit 0566db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharp.Core/string.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ module String =
139139
[<CompiledName("ForAll")>]
140140
val forall: predicate: (char -> bool) -> str: string -> bool
141141

142-
/// <summary>Builds a new string whose characters are the results of applying the function <c>mapping</c>
142+
/// <summary>Builds a new string whose characters are the results of applying the function <c>initializer</c>
143143
/// to each index from <c>0</c> to <c>count-1</c> and concatenating the resulting
144144
/// strings.</summary>
145145
///

0 commit comments

Comments
 (0)